[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-112) MavenImporter ignores AcceptScopesStrategy for dependency inclusion
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Fri May 31 04:10:56 EDT 2013
[ https://issues.jboss.org/browse/SHRINKRES-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778385#comment-12778385 ]
Andrew Rubinger commented on SHRINKRES-112:
-------------------------------------------
Upstream: https://github.com/shrinkwrap/resolver/commit/eee2a42556709dd5c228b7fa8b72c892b2ed36b0
> MavenImporter ignores AcceptScopesStrategy for dependency inclusion
> -------------------------------------------------------------------
>
> Key: SHRINKRES-112
> URL: https://issues.jboss.org/browse/SHRINKRES-112
> Project: ShrinkWrap Resolvers
> Issue Type: Feature Request
> Components: impl-maven
> Affects Versions: 2.0.0-beta-2
> Reporter: Karel Piwko
> Assignee: Karel Piwko
> Priority: Blocker
> Fix For: 2.0.0-beta-4
>
>
> AcceptScopesStrategy is not correctly propagated:
> {code}
> @Deployment(testable = false)
> public static WebArchive createDeployment()
> {
> return ShrinkWrap.create(MavenImporter.class)
> .loadPomFromFile("pom.xml")
> .importBuildOutput(new AcceptScopesStrategy(ScopeType.COMPILE, ScopeType.RUNTIME))
> .as(WebArchive.class);
> }
> {code}
--
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