www-repository mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Boston <ianbos...@gmail.com>
Subject mvn deploy fails.
Date Mon, 12 Sep 2016 15:52:59 GMT
I am trying to test my setup to do a release for sling as recommended at [0]
I can login to [1]. I can see the staging repository and artifacts being
released by others. I have released using repository.apache.org but it was
a long time ago, before people.apache.org became sftp only.

I have setup (and double checked) ~/.m2/settings.xml, verified that they
are being picked.
I am using mvn -ep, but even with a clear text password

When I try mvn deploy I get

[WARNING] Encountered issue during deployment: Failed to deploy artifacts:
Could not transfer artifact
from/to apache.snapshots.https (
https://repository.apache.org/content/repositories/snapshots): Failed to
transfer file:
Return code is: 401, ReasonPhrase: Unauthorized.

Judging by the stack trace its using


which was configured with

DEBUG] Using transporter WagonTransporter with priority -1.0 for

[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for
https://repository.apache.org/content/repositories/snapshots with
username=ieb, password=***

Any ideas ?

Best Regards

0 http://www.apache.org/dev/publishing-maven-artifacts.html#publish-snapshot
1 https://repository.apache.org

View raw message