[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-125) Using asSingleFile only works if you return a single file

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Thu Apr 18 09:40:54 EDT 2013


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

Andrew Rubinger closed SHRINKRES-125.
-------------------------------------

    Resolution: Rejected

    
> Using asSingleFile only works if you return a single file
> ---------------------------------------------------------
>
>                 Key: SHRINKRES-125
>                 URL: https://issues.jboss.org/browse/SHRINKRES-125
>             Project: ShrinkWrap Resolvers
>          Issue Type: Feature Request
>            Reporter: John Ament
>
> In this code example
> return Maven.resolver().offline().loadPomFromFile("pom.xml")
>                 .resolve(artifact)
>                 .withTransitivity().asFile()[0];
> You should be able to replace asFile()[0] with asSingleFile, however it doesn't work since multiple files are actually returned.

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