« Return to Thread: Problem deploying to Artifactory
Yossi Shaul-2 wrote:Looks like you are trying to deploy to a virtual repository (libs-releases), which is not allowed.
Try to deploy to libs-releases-local (or any other local repository you defined) and see if it works.
Yossi
________________________________
From: Joserra <jrramon@gmail.com>
To: artifactory-users@lists.sourceforge.net
Sent: Wednesday, June 10, 2009 11:08:26 AM
Subject: [Artifactory-users] Problem deploying to Artifactory
Hi all,
We are trying to deploy with "mvn deploy", but I get an error:
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from libs-snapshots
[INFO] repository metadata for: 'snapshot
com.biko2.can.core:host-services:1.0.1
-SNAPSHOT' could not be found on repository: libs-snapshots, so will be
created
Uploading: http://10.21.0.68:8081/artifactory/libs-snapshosts/com/biko2/can
/core/host-services/1.0.1-SNAPSHOT/host-services-1.0.1-20090610.074820-1.jar
3874K uploaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file:
http://10.21.0.68:8081
/artifactory/libs-snapshosts/com/biko2/can/core/host-services/1.0.1-SNAPSHO
T/host-services-1.0.1-20090610.074820-1.jar. Return code is: 405
I hace declared in pom.xml
<distributionManagement>
<repository>
<id>libs-releases</id>
<name>mafalda.evergreen.biko2.com-releases</name>
http://10.21.0.68:8081/artifactory/libs-releases
</repository>
<snapshotRepository>
<id>libs-snapshots</id>
<name>mafalda.evergreen.biko2.com-snapshots</name>
http://10.21.0.68:8081/artifactory/libs-snapshosts
</snapshotRepository>
</distributionManagement>
an in setting.xml I have also defined server, with user & passwrod. But I
don´t know what error 405 does mean.
In th e artifactory log I see:
2009-06-10 09:07:30,853 [ERROR] (o.a.w.s.RequestUtils:89) - Request
/libs-snapshosts/com/biko2/can/core/host-services/1.0.1-SNAPSHOT/host-services-1.0.1-20090610.080731-1.jar
should be a repo request and does not match any repo key
But, we do have defined /libs-snapshosts as a repository...
any help would be appreciated!
--
View this message in context: http://www.nabble.com/Problem-deploying-to-Artifactory-tp23957639p23957639.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Artifactory-users mailing list
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Artifactory-users mailing list
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users
« Return to Thread: Problem deploying to Artifactory
| Free embeddable forum powered by Nabble | Forum Help |