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
You can avoid the version appeneded to the war file name by doing a "clean compile package" instead of "clean install".
Just add this to your pom.xml
:
<build>
<finalName>TataWeb</finalName>
</build>
well, its not the Maven Way. Maven does have a version attribute.. use it.
You should use your artifactid, rather than hard-coding the file name.
<build>
<finalName>${project.artifactId}</finalName>
</build>