Deploy Artifact to specific repo other than libs-snapshot-local or libs-release-local with maven-deploy-plugin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Deploy Artifact to specific repo other than libs-snapshot-local or libs-release-local with maven-deploy-plugin


I cannot deploy artifact to a local repo that I created after artifactory
installation (not libs-snapshot-local or libs-release-local) with Maven and
Earlier I tested my settings.xml and project pom by successfully uploading
to libs-snapshot-release. I'm not sure if I'm passing the correct id for the
local repo. Without further
ado, here's my distributionManagement block in the project pom.

Note that I tried putting the repo info above in a 'snapshotRepository'
block instead of 'repositiry'. But it didn't work or make a difference. Also
noticed that it doesn't allow
you to have multiple of either bolcks.

And here are the 'servers' and 'profies' sections corresponding to the
specific local repo in my settings.xml.


 When I'm running 'mvn deploy', getting following error while uploading.
 [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on
project xxxPackage: Failed to deploy artifacts: Could not transfer artifact
com.xxx.pro:xxxPackage:pom:12.5-20160809.173109-1 from/to my-thirdparty-lib
(http://localhost:8081/artifactory/my-thirdparty-lib): Failed to transfer
Return code is: 409, ReasonPhrase: Conflict. -> [Help 1]
 I'm using Artifactory 3.9.2.

View this message in context: http://forums.jfrog.org/Deploy-Artifact-to-specific-repo-other-than-libs-snapshot-local-or-libs-release-local-with-maven-depn-tp7581153.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
Artifactory-users mailing list
[hidden email]