You can remove the version number from your artifact by using the
following tag in your pom:
<build>
<finalName>${project.artifactId}</finalName>
</build>
Wayne
On 4/12/06, RobJac <[EMAIL PROTECTED]> wrote:
>
> 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>