I'm attaching more details:

[INFO] [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on 
project ontrack: Failed to deploy artifacts: Could not transfer artifact 
org.jenkins-ci.plugins:ontrack:hpi:2.4.2 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/jenkins-ci/plugins/ontrack/2.4.2/ontrack-2.4.2.hpi.
 
Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]

Note again that the upload has actually been done. The error 401 occurs 
afterwards.

I'm using Maven 3.2.3:

mvn --version
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 
2014-08-11T22:58:10+02:00)
Maven home: /Users/damien/Documents/dev/apps/apache-maven-3.2.3
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: 
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: "mac"

Damien.

On Friday, 13 February 2015 20:23:28 UTC+1, Damien Coraboeuf wrote:
>
> I'm currently facing the same issue. 401 while it worked previously very 
> well (last deploy on 2015/02/05).
>
> The upload is done (.hpi + .pom) and then the HTTP 401 error occurs.
>
> Damien.
>
> On Monday, 9 February 2015 08:56:26 UTC+1, Shanbin Wang wrote:
>>
>> Hi,
>>
>> My account (shanbin) used to work correctly a few day ago, but now "mvn 
>> deploy" returns 401.
>>
>>
>> http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/scoverage/1.1.1/ 
>> (last deploy works on 2015/01/28).
>>
>> I can log in to https://jenkins-ci.org/account, but 
>> https://repo.jenkins-ci.org refused my login, I guess that's why I 
>> received a 401 during mvn deploy.
>>
>> Is there anything changed on Artifactory access?
>>
>> Thanks,
>> Shanbin
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/7c5b66e3-3725-4af1-a72d-d325b6221bb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to