I have following problem:

I have 6-7 and more paths where from my jar is passing to classpath, and I need to get all nasted jars in my pom, and set exclusions. For now I use my Intellij Idea to build dependency tree, then use search and find all jars, and proceed exclusion one by one. Its very slow process, because Intellij works VERY slow with dependency tree. Can you suggest me some better way to do all exclusions? 

Thanks