What I do to get around this is let maven do its thing then when I
deploy the jars, I use an ant task to copy the correct file out to my
server using the name minus the version.
RobJac wrote:
I can actually remove the version when i package, but when i execute mvn
installl for the project it again places the project-version.jar in my
localrepository under the following folder path
<localRepository>/{groupId}/{version}/project-version.jar. I am facing an
issue when i am trying to create an EAR. Since all the projects are getting
created from the the local repository all the projects are getting appended
with version number which I want to avoid. Please let me know how i can
avoid gettuing the version number appended when i execute mvn install for a
project or Can i over ride the name of the dependency project jars when
they are fetched from the repository?
--
View this message in context:
http://www.nabble.com/Removing-version-when-creating-a-jar-t1438924.html#a4012162
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[tch]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]