« Return to Thread: Problem deploying to Artifactory

Re: Problem deploying to Artifactory

by Yossi Shaul-2 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Do you pass repository id to the deploy:deploy-file goal? if you do, is it the same one you used in the distribution management?


From: Joserra <jrramon@...>
To: artifactory-users@...
Sent: Wednesday, June 10, 2009 4:44:10 PM
Subject: Re: [Artifactory-users] Problem deploying to Artifactory


We tried it, but it´s the same

[INFO] Error deploying artifact: Failed to transfer file:
http://10.21.0.68:8081
/artifactory/libs-snapshosts-local/com/biko2/can/core/host-services/1.0.1-SNAPSH
OT/host-services-1.0.1-20090610.134137-1.jar. Return code is: 405

Strange is that I can deploy with deploy:deploy-file to that repository
without problem.

  Thanks!


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@...>
> To: artifactory-users@...
> 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@...
> 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@...
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

--
View this message in context: http://www.nabble.com/Problem-deploying-to-Artifactory-tp23957639p23962618.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@...
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@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 « Return to Thread: Problem deploying to Artifactory