Sunday, March 27, 2016

mvn dependency management notes

http://stackoverflow.com/questions/5805962/how-can-i-locate-the-pom-which-requests-a-missing-pom

mvn dependency:analyze-dep-mgt


mvn dependency:tree -Dverbose=true can spit out unused duplicates/versions. Wasn't enough in my case, however, for some reason it didn't show the offending jar's listed [?]. It also doesn't show the ommitted jar's descendants, which may or may not be useful.