Archiva
  1. Archiva
  2. MRM-16

reporting: report on bad metadata files

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-alpha-1
    • Component/s: reporting
    • Labels:
      None
    • Number of attachments :
      0

      Description

      missing versions, extra versions, etc.

        Issue Links

          Activity

          Hide
          Brett Porter added a comment -

          more details:

          • needs to go over the maven-metadata.xml files in the repository
          • needs to check each element is correct. ie:
          • check that the artifacts corresponding to each element in <versions> exists, and that there is a <version> element for each version of the artifact in the repository
          • check that latest/releaseVersion, if set, correspond to real versions
          • check that lastUpdated is set
          • if it is a -SNAPSHOT version, check <snapshot> is set, and that the artifact it is set to exists
          • if it has plugin groups, check that an artifact exists for each of those with a latest version set.
          Show
          Brett Porter added a comment - more details: needs to go over the maven-metadata.xml files in the repository needs to check each element is correct. ie: check that the artifacts corresponding to each element in <versions> exists, and that there is a <version> element for each version of the artifact in the repository check that latest/releaseVersion, if set, correspond to real versions check that lastUpdated is set if it is a -SNAPSHOT version, check <snapshot> is set, and that the artifact it is set to exists if it has plugin groups, check that an artifact exists for each of those with a latest version set.
          Hide
          Edwin Punzalan added a comment -

          Done. Although I think the unit tests should use the Metadata Xpp3Reader instead.... but I guess that's an improvement. _

          Show
          Edwin Punzalan added a comment - Done. Although I think the unit tests should use the Metadata Xpp3Reader instead.... but I guess that's an improvement. _

            People

            • Assignee:
              Edwin Punzalan
              Reporter:
              Brett Porter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 16 hours
                16h