RobJac
2006-04-12 15:56:59 UTC
I have a project A which i have successfully compiled and packaged. Now when
i try to run mvn install, it tries to create a jar into my local repository.
But its appending the verion also to the jar file which i really want to
avoid. For example in the pom.xml of project A file i have given
<project>
<groupId>A</groupId>
<artifactId>A</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
</project>
So its creating a jar file as A-1.0.jar which i dont want to have I just
want it as A.jar. I believe version tag is mandatory as i tried removing it.
Please advice
Thanks in advance
Robin
--
View this message in context: http://www.nabble.com/Removing-version-when-creating-a-jar-t1438924.html#a3884329
Sent from the Maven - Users forum at Nabble.com.
i try to run mvn install, it tries to create a jar into my local repository.
But its appending the verion also to the jar file which i really want to
avoid. For example in the pom.xml of project A file i have given
<project>
<groupId>A</groupId>
<artifactId>A</artifactId>
<packaging>jar</packaging>
<version>1.0</version>
</project>
So its creating a jar file as A-1.0.jar which i dont want to have I just
want it as A.jar. I believe version tag is mandatory as i tried removing it.
Please advice
Thanks in advance
Robin
--
View this message in context: http://www.nabble.com/Removing-version-when-creating-a-jar-t1438924.html#a3884329
Sent from the Maven - Users forum at Nabble.com.