[JBoss JIRA] (SHRINKRES-155) MavenImporter flattens structure of resources
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/SHRINKRES-155?page=com.atlassian.jira.plu... ]
Karel Piwko updated SHRINKRES-155:
----------------------------------
Summary: MavenImporter flattens structure of resources (was: MavenImporer flattens structure of resources)
> MavenImporter flattens structure of resources
> ---------------------------------------------
>
> Key: SHRINKRES-155
> URL: https://issues.jboss.org/browse/SHRINKRES-155
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: impl-maven
> Affects Versions: 2.0.0
> Reporter: Karel Piwko
> Assignee: Karel Piwko
> Fix For: 2.1.0
>
>
> *When*:
> I have resources likes
> * src/main/resources/foo.properties
> * src/main/resources/nested/bar.properties
> *Expect*:
> WAR Archive have these entries as:
> * /WEB-INF/classes/foo.properties
> * /WEB-INF/classes/nested/bar.properties
> *Current behavior*:
> * /WEB-INF/classes/foo.properties
> * /WEB-INF/classes/nested
> * /WEB-INF/classes/bar.properties
--
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
10 years, 5 months
[JBoss JIRA] (SHRINKRES-112) MavenImporter ignores AcceptScopesStrategy for dependency inclusion
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/SHRINKRES-112?page=com.atlassian.jira.plu... ]
Karel Piwko closed SHRINKRES-112.
---------------------------------
Closing issues. Released as a part of 2.0.0-beta-4 release.
> 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
10 years, 5 months