Cleaning up pom.xml-1: How do I check to see if the dependencies of my project are correct?From Kedar: Well, of course it should build. If you are able to build the artifact of your project, then you have sufficient information in your pom.xml. Kohsuke has written a Mojo that analyzes your dependencies. Simply do: mvn [-o] gf:analyze-dependency in your project's folder and you'll know any redundant dependencies. The reason for redundant dependencies is that you might have an indirect or inherited dependency that Maven automatically takes care of. |