From: shayb <sh...@jf...> - 2013-08-02 20:02:31
|
Hi, Add '@' before the file you are trying to upload will make it work. curl -X PUT http://myserver.com:8081/artifactory/myrepo/com/mycompany/MyArtifact/7.89.1.0/MyArtifact-7.89.1.0.pom--data-binary @MyArtifact-7.89.1.0.pom -uadmin:password -v Please also note that in your POM the GAV params declared with lower case characters, so you should deploy the POM to the same path with lower case GAV characters. curl -X PUT http://myserver.com:8081/artifactory/myrepo/com/mycompany/myartifact/7.89.1.0/myartifact-7.89.1.0.pom--data-binary @MyArtifact-7.89.1.0.pom -uadmin:password -v Hope this helps, Shay. -- View this message in context: http://forums.jfrog.org/Getting-409-error-when-deploying-a-POM-file-through-CURL-tp7578956p7578961.html Sent from the Artifactory - Users mailing list archive at Nabble.com. |