Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Labels:
Description
Hi Juven
thanks for setting my account.
Unfortunately I got 'Access denied' errors when I tried to deploy my snapshot:
$ mvn clean deploy
[...]
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/outsideMyBox/testUtils/0.0.1-SNAPSHOT/maven-metadata.xml
Uploading: https://oss.sonatype.org/content/repositories/snapshots/org/outsideMyBox/testUtils/0.0.1-SNAPSHOT/testUtils-0.0.1-20110219.165638-1.jar
Uploading: https://oss.sonatype.org/content/repositories/snapshots/org/outsideMyBox/testUtils/0.0.1-SNAPSHOT/testUtils-0.0.1-20110219.165638-1.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.545s
[INFO] Finished at: Sat Feb 19 16:56:41 GMT 2011
[INFO] Final Memory: 25M/182M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project testUtils: Failed to deploy artifacts: Could not transfer artifact org.outsideMyBox:testUtils:jar:0.0.1-20110219.165638-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/org/outsideMyBox/testUtils/0.0.1-SNAPSHOT/testUtils-0.0.1-20110219.165638-1.jar -[...]
I followed the tutorial at https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide and in particular I've defined the servers, username and password in my settings.xml:
<server>
<id>sonatype-nexus-snapshots</id>
<username>outsidemybox</username>
<password>*****</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>outsidemybox</username>
<password>*****</password>
</server>
but cannot figured out why it cannot deploy.
Any idea?
Thanks!
Franck