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.
请先登录再写评论。
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.
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.
Norris Shelton wrote:
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.