开发者

How do I know what version of a Maven plugin to use?

开发者 https://www.devze.com 2023-03-23 06:22 出处:网络
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?

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

  1. Go to http://mvnrepository.com
  2. Search for maven-compiler-plugin
  3. You should find the first one is the one you need. http://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin
  4. 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".

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号