How do I upgrade the version of a maven plugin?

后端 未结 4 1153
旧时难觅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:38

    The default plugin versions are inherited from the Super POM, and you can check them with mvn help:effective-pom.

    If you want to override the version provided there, add this to your POM:

    
      
        
          
            maven-ear-plugin
            2.3.1
          
        
      
    
    

    Replace the version with what you need.

提交回复
热议问题