Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-313

archiva fails to serve maven2 plugin from legacy repository

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-alpha-1
    • 1.0-beta-3
    • remote proxy
    • None

    Description

      Archiva is configured to proxy http://dist.codehaus.org/ (legacy layout)

      the xdoclet2 maven2 plugin is deployed under /xdoclet/maven-plugins. This looks right as the type is set to "maven-plugin".

      trying to download http://archiva/repository/maven/xdoclet/maven2-xdoclet2-plugin/2.0.5/maven2-xdoclet2-plugin-2.0.5.jar fails
      archiva has no info from the specified URL about trying to get a maven-plugin !
      http://archiva/repository/maven/xdoclet/maven2-xdoclet2-plugin/2.0.5/maven2-xdoclet2-plugin-2.0.5.maven-plugin works as expected.

      2 options (suggestions are wecome) :

      • use a "-plugin" pattern that a plugin is required (just a hack, and requires all plugin to follow this convention)
      • read the requested artifact POM to get the artifact type.

      Attachments

        Issue Links

          Activity

            People

              joakime Joakim Erdfelt
              ndeloof nicolas de loof
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: