How do I upgrade the version of a maven plugin?

后端 未结 4 1164
旧时难觅i
旧时难觅i 2021-01-30 11:10

I am using the maven-ear-plugin version 2.3.1 - I know there is a new version available: http://maven.apache.org/plugins/maven-ear-plugin/

I can\'t work out how to upgra

4条回答
  •  醉酒成梦
    2021-01-30 11:48

    Some maven plugins are restricted to maven versions. For example, generally projects around here use Maven 2.0.4, which is restricted to use the war plugin 2.0.2 - this works with overlays. The 2.1-alpha whatever, however, that Maven 2.0.9 uses, does not - so we had to manually downgrade. Maven, unless otherwise instructed, will attempt to use the latest version of a plugin that it can according to its version.

提交回复
热议问题