[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-62) MavenImporter should support shrinkwrap filtering
Bernard Labno (JIRA)
jira-events at lists.jboss.org
Wed Feb 27 08:51:56 EST 2013
[ https://issues.jboss.org/browse/SHRINKRES-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757173#comment-12757173 ]
Bernard Labno commented on SHRINKRES-62:
----------------------------------------
maven-war-plugin has cute method [AbstractWarPackagingTask|http://svn.apache.org/viewvc/maven/plugins/tags/maven-war-plugin-2.3/src/main/java/org/apache/maven/plugin/war/packaging/AbstractWarPackagingTask.java?view=markup].getFilesToIncludes on line 342.
It uses DirectoryScanner (plexus-utils) that scans directory and returns list of paths that match to both includes and excludes. It's smart enough to work with both regex and ant-like path expressions.
Besides it has pre-defined list of default excludes. I think this might be hard for us to copy this behavior. It would be best to reuse maven-war-plugin classes for our packaging.
What do you think Karel?
> MavenImporter should support shrinkwrap filtering
> -------------------------------------------------
>
> Key: SHRINKRES-62
> URL: https://issues.jboss.org/browse/SHRINKRES-62
> Project: ShrinkWrap Resolvers
> Issue Type: Feature Request
> Components: api-maven
> Reporter: Karel Piwko
> Assignee: Bernard Labno
> Priority: Minor
> Labels: api-change
>
> Discussed with kpiwko while designing the api for SHRINKWRAP-325.
> Should be able to include/exclude any main/test class/resource/webapp-resource.
--
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