12

我在运行版本时看到了一些更新:display-plugin-updates,但我发现插件无法修复这些更新。我只是错过了什么吗?

这是输出:

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

是否有更新这些插件和/或添加未定义插件的目标?

4

2 回答 2

2

简短的回答是您需要手动更新 pom.xml 中的版本。

它不是特别繁重,因为它不是需要经常做的事情。

于 2015-12-01T23:44:51.510 回答
0

有一种解决方法:将插件版本定义为属性,然后目标update-properties也会更新这些版本。

于 2021-08-26T09:30:35.440 回答