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

Archiva don't want to download a snapshot of a maven plugin (merged metadata are empty)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 1.1.3, 1.2-M1, 1.2
    • Fix Version/s: 1.2
    • Component/s: remote proxy
    • Labels:
      None
    • Environment:
      I have the problem in production (Linux + archiva 1.1.1)
      I reproduced it on my laptop (XP with archiva 1.1.1, 1.1.3, 1.2-M1 and trunk)

      Description

      Use case :

      • I want to use idl-maven-plugin 1.1-SNPASHOt from codehaus
      • In archiva I have a group (snapshots) with behind a managed repository (snapshots-proxy) which proxify http://snapshots.repository.codehaus.org/
      • When I launch the build of the project, archiva download metadata for 1.1-SNAPSHOT from codehaus in maven-metadata-codehaus-snapshots.xml which is fine
      • But it creates an empty maven-metadata.xml
      • Maven receive this empty file and try to download 1.1-SNAPSHOT artifacts instead of the last timestamp.

      I attach :

      • A minimal project which uses a local archiva
      • The achiva config file (be careful to deactivate/change the network proxy)
      • maven-metadata-codehaus-snapshots.xml and maven-metadata.xml

        Attachments

        1. archiva.xml
          6 kB
          Arnaud HERITIER
        2. maven-metadata.xml
          0.1 kB
          Arnaud HERITIER
        3. maven-metadata-codehaus-snapshots.xml
          0.6 kB
          Arnaud HERITIER
        4. pom.xml
          2 kB
          Arnaud HERITIER

          Activity

            People

            • Assignee:
              oching Maria Odea Ching
              Reporter:
              aheritier Arnaud HERITIER
            • Votes:
              5 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: