I've already posted this on StackOverflow:
http://stackoverflow.com/q/12734788/368630. It was recommended to post
it here too.
I have a jar file and a pom.xml file I want to deploy to Artifactory.
I do the following command:
mvn deploy:deploy-file -Dversion=0.8.0 \
-Dfile=project.jar -DpomFile=pom.xml
-Durl=http://buildl01.tcprod.local/artifactory/ext-release-local \
-DrepositoryId=VegiBank
And I get the which I've placed in pastebin: http://pastebin.com/4KEkswbA
The jar file gets put into Artifactory in the correct place, but the
pom.xml does not come over. Instead, I get the error:
I've finally traced the error to the fact that the `-Dversion="0.8.0"
doesn't equal the <version>0.8.0-CI</version> tag. Previously, I was
able to override the <version> tag in the pom.xml with the command
line. However, it now appears that this is no longer the case.
Is there a setting in Artifactory where I can override the <version>
tag in the pom.xml?
--
David Weintraub
[email protected]
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users