How to remove version number from war file

前端 未结 5 1789
小蘑菇
小蘑菇 2021-01-02 17:34

I have a Dependency in child pom like this.


        
            sample-groupID
                


        
5条回答
  •  既然无缘
    2021-01-02 17:52

    If the war/ejb is part of an ear project, one should use bundleFileName to change the module names in the final ear artifact.

    
       org.apache.maven.plugins
       maven-ear-plugin
       ${version.ear.plugin}
       
         
           
             com.foo
             myapp-web
             /myapp
             myapp-web.war
           
           
             com.foo
             myapp-ejb
             myapp-ejb.jar
           
         
       
     
    

提交回复
热议问题