[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-74) Enhance the api to allow .offline() when using the .import*Dependencies() methods

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Thu Nov 1 15:13:18 EDT 2012


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

Andrew Rubinger updated SHRINKRES-74:
-------------------------------------

           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 2.0.0-alpha-5
       Resolution: Done


Done alongside SHRINKRES-63 in https://github.com/shrinkwrap/resolver/commit/16f71605dbd2ed3141ff8acb1095deb7c8a4ce5d
                
> Enhance the api to allow .offline() when using the .import*Dependencies() methods
> ---------------------------------------------------------------------------------
>
>                 Key: SHRINKRES-74
>                 URL: https://issues.jboss.org/browse/SHRINKRES-74
>             Project: ShrinkWrap Resolvers
>          Issue Type: Feature Request
>          Components: api
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: Marco Rietveld
>            Assignee: Michal Matloka
>            Priority: Minor
>             Fix For: 2.0.0-alpha-5
>
>         Attachments: ImportRuntimeDependenciesOfflineTest.java, ImportRuntimeDependenciesOfflineTestv2.java
>
>
> It would be great if I could do something like this: 
> {code:java}
> Maven.resolver().loadPomFromFile("pom.xml").importRuntimeDependencies().offline().as(File.class);
> {code}
> But the (fluent) api doesn't permit the {{.offline()}} method for the class/interface that's returned from the {{.importRuntimeDependencies()}} methods. 
> For the workaround that I tried to use (but which doesn't pay attention to the offline setting), see the attached test case (v2). 

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