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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.4-M1
    • Component/s: repository interface
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: