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

John Ament (JIRA) jira-events at lists.jboss.org
Mon Mar 18 15:39:42 EDT 2013


John Ament created SHRINKWRAP-448:
-------------------------------------

             Summary: Using asSingleFile only works if you return a single file
                 Key: SHRINKWRAP-448
                 URL: https://issues.jboss.org/browse/SHRINKWRAP-448
             Project: ShrinkWrap
          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