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

                 Key: MRM-1448
                 URL: http://jira.codehaus.org/browse/MRM-1448
             Project: Archiva
          Issue Type: Improvement
          Components: repository interface
    Affects Versions: 1.3.3
            Reporter: Brett Porter


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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to