You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hanno Braun (JIRA)" <ji...@codehaus.org> on 2009/10/07 11:45:31 UTC

[jira] Created: (MERCURY-133) LocalRepositoryReaderM2 mistakes classifier as part of version

LocalRepositoryReaderM2 mistakes classifier as part of version
--------------------------------------------------------------

                 Key: MERCURY-133
                 URL: http://jira.codehaus.org/browse/MERCURY-133
             Project: Mercury
          Issue Type: Bug
          Components: Repository
    Affects Versions: 1.0-alpha-6
            Reporter: Hanno Braun
            Assignee: Oleg Gusakov
         Attachments: LocalRepositoryReaderM2.diff

LocalRepositoryReaderM2 mistakes the classifier as a part of the version and thus fails to read artifacts that use a classifier. I've tracked this problem down to the method LocalRepositoryReaderM2.findLatestSnapshot and created a fix (see attachment).

The attached patch fixes the problem for me and I didn't notice any other side effects. However, I haven't tested it thoroughly with other use cases.

-- 
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

        

[jira] Commented: (MERCURY-133) LocalRepositoryReaderM2 mistakes classifier as part of version

Posted by "Hanno Braun (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MERCURY-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206589#action_206589 ] 

Hanno Braun commented on MERCURY-133:
-------------------------------------

Anyone still alive here?
Will this issue be addressed and will my fix be committed?

> LocalRepositoryReaderM2 mistakes classifier as part of version
> --------------------------------------------------------------
>
>                 Key: MERCURY-133
>                 URL: http://jira.codehaus.org/browse/MERCURY-133
>             Project: Mercury
>          Issue Type: Bug
>          Components: Repository
>    Affects Versions: 1.0-alpha-6
>            Reporter: Hanno Braun
>            Assignee: Oleg Gusakov
>         Attachments: LocalRepositoryReaderM2.diff
>
>
> LocalRepositoryReaderM2 mistakes the classifier as a part of the version and thus fails to read artifacts that use a classifier. I've tracked this problem down to the method LocalRepositoryReaderM2.findLatestSnapshot and created a fix (see attachment).
> The attached patch fixes the problem for me and I didn't notice any other side effects. However, I haven't tested it thoroughly with other use cases.

-- 
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