Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1448

classifier / extension combinations containing multiple '.' place the extra part in the classifier

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.3
    • 1.4-M1
    • repository interface
    • None

    Description

      Consider the following examples:

      1. archiva-jetty-1.3.3-bin.tar.gz
      2. archiva-dump-1.3.3.xml.zip
      3. archiva-dump-1.3.3-users.xml.zip

      Currently, the following classifier / type mappings are derived:

      1. bin / distribution-tgz
      2. none / xml.zip
      3. users.xml / zip

      The first and second examples would indicate additional '.' parts should be considered as part of the extension, not the classifier. However, the opposite is true (except for tar.gz which is special cased).

      It would be more intuitive to reverse this behaviour, especially since Archiva 1.4 doesn't use the distribution-tgz special case on Maven 2 repositories and considers the type as "tar.gz" (which is currently showing as -bin.tar / .gz instead)

      Attachments

        Activity

          People

            brett Brett Porter
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: