Friday, July 16, 2010

Add new Dependencies to Maven pom.xml

If you want to add a dependency to your pom.xml in your Maven project how do you find these dependencies? You may remember some common dependencies. But for the other dependencies how do you find the appropriate groupId and artifactId.
For that you can use Sonatype Nexus Maven repository Manager.
So in your pom.xml add the dependencies you required for your project and run "mvn install" which will download all the dependencies to your local Maven repository.

No comments: