Maven2 dependency plugin

I am looking to start using maven2 to manage library dependencies. There are several out there. Is one of them any better than the others? Can I use one that is for dependencies or do I need a full bore maven2 plugin. Once I have my pom.xml, what do I need to do.

3 comments

the one I use and find cool is MavenReloaded.

After installing it, You just have to right click on a pom file in IDEA and select maven>enable, and it will create module libraries for your module based on the declared dependencies in the file.

0

I added the plugin. It didn't do anything at first. I checked the menu for the plugin and it was not enabled (why not?). I enabled it and nothing happened. I closed IntelliJ and opened and it started processing the POM. Hopefully it works the way I want.

0

Norris Shelton wrote:

I am looking to start using maven2 to manage library dependencies. There are several out there. Is one of them any better than the others? Can I use one that is for dependencies or do I need a full bore maven2 plugin. Once I have my pom.xml, what do I need to do.


There is a plugin for Maven 2 that will create a complete IDEA project
for you, based on the values in your pom (including dependencies). This
may not be what you are looking for, but you can read more about it here:

http://maven.apache.org/plugins/maven-idea-plugin/

The current version is 2.0, but 2.1 is coming out in the next couple of
weeks.

0

Please sign in to leave a comment.