How do I know what version of a Maven plugin to use?
How do I know what version of a Maven plugin to use?
For example, where on the horrible Maven website can I find a l开发者_如何学编程ist of versions of the compiler plugin? http://maven.apache.org/plugins/maven-compiler-plugin/
Here is what I do
- Go to http://mvnrepository.com
- Search for maven-compiler-plugin
- You should find the first one is the one you need. http://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin
- Find the one with the latest version and use that one
The above works because maven repo also has the latest plugins. Hope this helps.
Presumably, you're looking for the issue tracker, which shows issues, versions, changelogs, etc. On just about any of the "horrible" Maven plugin pages, you'll find a link to the issue tracker on the left side under "Project Information".
精彩评论