I have a maven project that I want to build without version.
Now, when I build the project using maven, it creates this commonjerseylib-1.0.war
but I need this commonjerseylib.war
to be created.
In addition to that, I remove <version>
tag from pom.xml
but still Maven is creating with war
with version 1.0 by default.
My pom.xml
:
<modelVersion>4.0.0</modelVersion>
<groupId>commonjerseylib</groupId>
<artifactId>commonjerseylib</artifactId>
<packaging>ear</packaging>
<name>commonjerseylib</name>
<!--<version>1.0</version>-->
How to build it without version ?