Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3369

karaf-maven-plugin 3.0.2 breaks deployment to Nexus

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 3.0.3, 4.0.0.M2, 4.0.0.M3
    • karaf

    Description

      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]

      Attachments

        1. pom.xml
          2 kB
          Igor Lazebny

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            ilazebny Igor Lazebny
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: