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)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.1, 1.1.3, 1.2-M1, 1.2
    • 1.2
    • remote proxy
    • None
    • 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

            oching Maria Odea B. Ching
            aheritier Arnaud Heritier
            Votes:
            5 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: