Maven: How to rename the war file for the project?

By | July 16, 2019


I have a project bird with following components in pom.xml



and the web module as



web module creates the war file named web-1.0-SNAPSHOT.war
How can I, using maven rename this to bird.war?


You can use the following in the web module that produces the war:

 . . .

This leads to a file called bird.war to be created when goal “war:war” is used.

Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *