[ 
https://issues.apache.org/jira/browse/KARAF-3369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244052#comment-14244052
 ] 

Vincent Zurczak commented on KARAF-3369:
----------------------------------------

Hi,

In the Karaf Maven plug-in, changing the *wagon-http-lightweight* version 2.6 
to *wagon-http* 2.8 fixes the problem.
Changing the *wagon-http-lightweight* version to 2.8 does not solve anything. 
So, using the light weight implementation is the problem.

> karaf-maven-plugin 3.0.2 breaks deployment to Nexus
> ---------------------------------------------------
>
>                 Key: KARAF-3369
>                 URL: https://issues.apache.org/jira/browse/KARAF-3369
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.2
>            Reporter: Igor Lazebny
>            Assignee: Jean-Baptiste Onofré
>              Labels: maven
>             Fix For: 4.0.0, 3.0.3
>
>         Attachments: pom.xml
>
>
> Adding karaf-maven-plugin 3.0.2 to pom.xml breaks deployment with 401 
> (Unauthorized). The same pom works OK with version 3.0.1.
> Maven version is 3.0.5.
> Complete error message:
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on 
> project karaf-maven-plugin-test: Failed to deploy artifacts: Could not 
> transfer artifact 
> org.example:karaf-maven-plugin-test:pom:1.0.0-20141118.093941-1 from/to 
> local-snapshots 
> (http://localhost:8081/nexus/content/repositories/snapshots/): Failed to 
> transfer file: 
> http://localhost:8081/nexus/content/repositories/snapshots/org/example/karaf-maven-plugin-test/1.0.0-SNAPSHOT/karaf-maven-plugin-test-1.0.0-20141118.093941-1.pom.
>  Return code is: 401 -> [Help 1]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to