karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Lazebny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3369) karaf-maven-plugin 3.0.2 breaks deployment to Nexus
Date Tue, 18 Nov 2014 10:00:48 GMT

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

Igor Lazebny commented on KARAF-3369:
-------------------------------------

Steps to reproduce:
1. Start local Nexus (I used nexus-2.10.0-02) or edit attached pom.xml to point to another
Nexus instance
2. Add server section to you local settings.xml:
    <server>
      <id>local-snapshots</id>
      <username>deployment</username>
      <password>deployment123</password>
    </server>
3. type "mvn deploy" in directory with saved pom.xml

> 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).
Tha same pom works OK with version 3.0.1.
> 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)

Mime
View raw message