Removing version number from file name with Maven

前端 未结 3 1500
小蘑菇
小蘑菇 2021-02-03 17:49

I have a project with 5 modules in maven. Right now, when I do a \"mvn clean install\", it generates an ear containing the two jars, one war and one sar from the other modules.<

3条回答
  •  再見小時候
    2021-02-03 18:50

    You can achieve this by specifying the finalName property in your pom like this:

    
        ${project.artifactId}
    
    

提交回复
热议问题