[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-173) Configuration methods don't affect pom.xml resolution

Karel Piwko (JIRA) issues at jboss.org
Thu Mar 20 04:38:13 EDT 2014


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

Karel Piwko closed SHRINKRES-173.
---------------------------------


    
> Configuration methods don't affect pom.xml resolution
> -----------------------------------------------------
>
>                 Key: SHRINKRES-173
>                 URL: https://issues.jboss.org/browse/SHRINKRES-173
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>          Components: api-maven, impl-maven
>    Affects Versions: 2.0.2
>            Reporter: Karel Piwko
>            Assignee: Karel Piwko
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> Maven Resolver allows to control resolution via following methods:
> * withCentralRepo(...)
> * offline(...)
> * withRemoteRepo(...)
> * withClasspathResolution(...)
> However, with an exception of offline(...) call, all these method can be called in phase where pom.xml resolution was already done if user call loadPomFrom* method.
> This means for example that resolver will touch Maven Central to resolve dependencies in pom.xml file user is loading.
> In order to fix that, these methods should be callable only in configureResolver() phase, before pom.xml is touched.

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