Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-768

Cannot proxy maven2 plugin (jaxb) from a maven1 repository (http://download.java.net/maven/1)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1
    • None
    • None
    • Linux

    Description

      Legacy Artifact Path Resolution returns error message when configuring a Maven plugin in a Maven 1 repo if direcotry is not under "plugins."

      Example:

      Artifact location: http://download.java.net/maven/1/com.sun.tools.xjc.maven2/maven-plugins/maven-jaxb-plugin-1.1.jar

      Configuration:

      Path: com.sun.tools.xjc.maven2/maven-plugins/maven-jaxb-plugin-1.1.jar
      GroupId: com.sun.tools.xjc.maven2
      ArtifactId: maven-jaxb-plugin
      Version: 1.1
      Classifier:
      Type: maven-plugin

      Error message:

      artifact reference does not match the initial path : com.sun.tools.xjc.maven2/plugins/maven-jaxb-plugin-1.1.jar

      Also, the auto complete feature does not correctly slice the input initially:

      ArtifactId: maven
      Version: jaxb-plugin-1.1

      Attachments

        Activity

          People

            ndeloof nicolas de loof
            mykol Michael Mallete
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: