Archiva

Unable to update metadata - No versions found for reference

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.0.2
  • Component/s: remote proxy
  • Labels:
    None
  • Number of attachments :
    1

Description

This occurs when requesting /org/apache/maven/plugins/maven-metadata.xml.

The IOException is thrown updateMetadata because no artifact versions could be found in the maven-metadata.xml on merge.

http://repo1.maven.org/maven2/activemq/activemq-gbean/maven-metadata.xml
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml

The first file listed above is a plugin metadata file (it lists plugin prefix mappings) while the second lists the available artifact versions.

MetadataTools.updateMetadata should be updated to handle plugin metadata files

Exception report is attached.

Issue Links

Activity

Hide
Brett Porter added a comment -

this is fixed, just some cleaning up to do before commit

Show
Brett Porter added a comment - this is fixed, just some cleaning up to do before commit

People

Vote (4)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: