When using Maven2, the version is automatically added to the file name of war that is output if it is the default pom.xml.
ex) sampleapp-0.0.0.war
If you want to deploy to tomcat's webapps, it's annoying to have such a file name, so In such a case, add the following settings in pom.xml to fix the file name.
pom.xml
<build>
(Omitted)
<finalName>sampleapp</finalName>
<!--↑ Add this line-->
</build>
Recommended Posts