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>
<url>
http://10.21.0.68:8081/artifactory/libs-releases</url>
</repository>
<snapshotRepository>
<id>libs-snapshots</id>
<name>mafalda.evergreen.biko2.com-snapshots</name>
<url>
http://10.21.0.68:8081/artifactory/libs-snapshosts</url>
</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!