Maven : How to avoid version appended to a war file in Maven?

前端 未结 4 1408
梦毁少年i
梦毁少年i 2020-12-31 12:52

I am using Maven as the build file , this is my below settings for the war file name to be generated

I am using Maven version 2.2.1

     

        
4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-31 13:47

    You should use your artifactid, rather than hard-coding the file name.

    
      ${project.artifactId}
     
    

提交回复
热议问题