[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-177) Version range resolution fails if metadata file doesn't exist in local repository

Karel Piwko (JIRA) issues at jboss.org
Mon Apr 14 10:30:34 EDT 2014


     [ https://issues.jboss.org/browse/SHRINKRES-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko resolved SHRINKRES-177.
-----------------------------------

    Fix Version/s: 2.2.0-alpha-2
       Resolution: Done


Pushed upstream in https://github.com/shrinkwrap/resolver/commit/7b4a1157683edf3a1ff99140a848e265ea72e9b8

Thanks!
                
> Version range resolution fails if metadata file doesn't exist in local repository
> ---------------------------------------------------------------------------------
>
>                 Key: SHRINKRES-177
>                 URL: https://issues.jboss.org/browse/SHRINKRES-177
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>          Components: impl-maven
>    Affects Versions: 2.1.0
>            Reporter: Tadeas Kriz
>            Assignee: Tadeas Kriz
>             Fix For: 2.2.0-alpha-2
>
>
> When version range resolution in Aether can't find local metadata file, it adds an exception into exception list. Shrinkwrap-Resolver then checks if the list is empty and if it's not, it fails. And that's why the resolution doesn't work in this case.
> https://github.com/shrinkwrap/resolver/blob/master/impl-maven/src/main/java/org/jboss/shrinkwrap/resolver/impl/maven/MavenWorkingSessionImpl.java#L291-L301

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list