首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Maven版本插件:更新插件

Maven版本插件:更新插件
EN

Stack Overflow用户
提问于 2015-12-02 07:32:22
回答 2查看 3.5K关注 0票数 11

当我运行版本:display- plugin -update时,我看到了一些更新,但我发现插件没有办法修复这些更新。我是不是错过了什么?

下面是输出:

代码语言:javascript
复制
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

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

EN

回答 2

Stack Overflow用户

发布于 2015-12-02 07:44:52

简而言之,您需要手动更新pom.xml中的版本。

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

票数 2
EN

Stack Overflow用户

发布于 2021-08-26 09:30:35

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34032262

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档