I'm trying to release our plugin using:
mvn release:prepare release:perform -Dusername=... -Dpassword=...
It seems to work well enough until the point where the release shall
be uploaded:
[INFO] Uploading:
http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jvnet/hudson/plugins/PUCM/0.3.12/PUCM-0.3.12.pom
...
[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy
(default-deploy) on project PUCM: Failed to deploy artifacts: Could
not transfer artifact org.jvnet.hudson.plugins:PUCM:hpi:0.3.12 from/to
maven.jenkins-ci.org
(http://maven.jenkins-ci.org:8081/content/repositories/releases/):
Failed to transfer file:
http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jvnet/hudson/plugins/PUCM/0.3.12/PUCM-0.3.12.hpi.
Return code is: 401 -> [Help 1]
I'm now very familiar with the release goal so my question is:
The PUCM directory doesn't exist on
http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jvnet/hudson/plugins/
Should someone create it for us? or am I supposed to have access to create it?
I'm using my jenkins.org account (lars_kruse) and I've uploaded my
public ssh key (don't even know if that is necessary).
I tried using both maven 3.0.2 and 2.2
We'er stuck!
Once I had sorted those two out, it worked!
Thanks