Mercury (retired)
  1. Mercury (retired)
  2. MERCURY-5

Implement MetadataCache for VirtualRepositoryReader

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-alpha-1
    • Fix Version/s: 1.0.0-alpha-2
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      all
    • Number of attachments :
      0

      Description

      There are several places for metadata in Maven repo:

      • local repo
        • GA group level maven-metadata-local.xml
        • GAV level maven-metadata-local.xml
          • maven-metadata-local.xml
          • resolver-status.properties
          • maven-metadata-forge.xml
          • GAV.jar.lastUpdated
          • GAV.pom.lastUpdated
      • remote repo
        • GA group level maven-metadata.xml
        • GAV level maven-metadata.xml

      Problems

      • I don't see any difference between maven-metadata.xml and maven-metadata-local.xml
      • we don't need this metadata.xml in local repo - it's more reliable to scan directories than keep directories and this file in sync
      • this metadata.xml is only needed for "dumb" remote repo to prevent page scraping
      • there no standard place to record remote repo scan timestamps, each component seem to deal with it on it's own

      Solution

      • does not exist yet - needs to be designed
      • should be compatible with at least existing metadata.xml files
      • should allow standard recording of repo scan timestamps
      • should be flexible to allow recording of other GA and GAV attributes

        Activity

        Hide
        Oleg Gusakov added a comment -

        Done

        Show
        Oleg Gusakov added a comment - Done

          People

          • Assignee:
            Oleg Gusakov
            Reporter:
            Oleg Gusakov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: