[
https://issues.jboss.org/browse/SHRINKRES-62?page=com.atlassian.jira.plug...
]
Bernard Labno edited comment on SHRINKRES-62 at 2/27/13 9:02 AM:
-----------------------------------------------------------------
maven-war-plugin has cute method
[
AbstractWarPackagingTask|http://svn.apache.org/viewvc/maven/plugins/tags/...
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,
or at least DirectoryScanner?
What do you think Karel?
was (Author: blabno):
maven-war-plugin has cute method
[
AbstractWarPackagingTask|http://svn.apache.org/viewvc/maven/plugins/tags/...
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