Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.3
-
None
Description
Consider the following examples:
- archiva-jetty-1.3.3-bin.tar.gz
- archiva-dump-1.3.3.xml.zip
- archiva-dump-1.3.3-users.xml.zip
Currently, the following classifier / type mappings are derived:
- bin / distribution-tgz
- none / xml.zip
- 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)