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

build, maven, maven-2

Solution

Just add this to your `pom.xml`:

<build>
    <finalName>TataWeb</finalName>
</build>

Problem

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 ``` <artifactId>TataWeb</artifactId> <packaging>war</packaging> <version>1.0</version> ``` So its actually generating a war file with this name TataWeb-1.0 But i want the war file name to be only TataWeb . Please let me know how can i avoid the version appeneded to the war file name ?? Thank you .

Original source