当我运行版本:display- plugin -update时,我看到了一些更新,但我发现插件没有办法修复这些更新。我是不是错过了什么?
下面是输出:
The following plugin updates are available:
maven-checkstyle-plugin ................................ 2.16 -> 2.17
maven-release-plugin ................................. 2.5.2 -> 2.5.3
maven-surefire-report-plugin ......................... 2.18.1 -> 2.19
org.codehaus.mojo:findbugs-maven-plugin .............. 3.0.2 -> 3.0.3
The following plugins do not have their version specified:
maven-clean-plugin ........................ (from super-pom) 3.0.0
maven-deploy-plugin ....................... (from super-pom) 2.8.2
maven-install-plugin ...................... (from super-pom) 2.5.2
Project defines minimum Maven version as: 3.0.4
Plugins require minimum Maven version of: 3.0.4
Note: the super-pom from Maven 3.0.5 defines some of the plugin
versions and may be influencing the plugins required minimum Maven
version.
No plugins require a newer version of Maven than specified by the pom.
Require Maven 3.1 to use the following plugin updates:
org.bsc.maven:maven-processor-plugin .................... 3.1.0-beta1是否有更新这些插件和/或添加未定义插件的目标?
发布于 2015-12-02 07:44:52
简而言之,您需要手动更新pom.xml中的版本。
这并不是特别繁重,因为这不是需要经常做的事情。
发布于 2021-08-26 09:30:35
有一个解决办法:将插件版本定义为属性,然后目标update-properties也会更新这些版本。
https://stackoverflow.com/questions/34032262
复制相似问题