maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brajesh <>
Subject how to override artifact name while installing the artifact to repo ?
Date Thu, 03 May 2012 05:50:53 GMT
I am trying to override  a jar file name as follows with an underscore
between artifact name and version.


this is how we declare in pom.xml


during mvn clean install , this create the artifact as projectName-v1_0.jar
an hypen appended to the version. I want that to be a underscore. 

I tried to put the following inside the build tag 

and it created the artifact as projectName_v1_0.jar in the target folder.
however during the installation 
following happens

Installing C:\service-maven-projects\projectName\target\
projectName_v1_0.jar to

Can any one advise me why this is happening ? can't i override the hyphen
generated during the installation of artifact ?

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message