[jbosstools-issues] [JBoss JIRA] (JBIDE-12821) component.exclusion.patterns doesn't support regex pattern

Fred Bricon (JIRA) jira-events at lists.jboss.org
Mon May 27 16:11:07 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-12821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777224#comment-12777224 ] 

Fred Bricon commented on JBIDE-12821:
-------------------------------------

Rob, in maven-war-plugin, [regexp%] patterns are handled via plexus-utils (which basically contains forked classes of ant).
Classes of interest are : 
* https://github.com/sonatype/plexus-utils/blob/master/src/main/java/org/codehaus/plexus/util/AbstractScanner.java
* https://github.com/sonatype/plexus-utils/blob/master/src/main/java/org/codehaus/plexus/util/MatchPattern.java to a lesser degree

In order to support regex patterns, we should replace everything ant-derived by [plexus-utils-3.0.10.jar|http://search.maven.org/#artifactdetails%7Corg.codehaus.plexus%7Cplexus-utils%7C3.0.10%7Cjar]. Not forking the classes would be ideal.
Since plexus-utils evolved significantly from ant, it *may* be more open to customization ... or not.
                
> component.exclusion.patterns doesn't support regex pattern
> ----------------------------------------------------------
>
>                 Key: JBIDE-12821
>                 URL: https://issues.jboss.org/browse/JBIDE-12821
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: maven, server
>    Affects Versions: 3.3.1.Final
>            Reporter: Sébastien Pinel
>            Assignee: Rob Stryker
>            Priority: Critical
>              Labels: f2f2012
>             Fix For: 4.1.x, 4.2.x
>
>         Attachments: webapp.zip
>
>
> Using maven-war-plugin, you can use packageIncludes/packageExcludes with a regex (e.g. http://maven.apache.org/plugins/maven-war-plugin/examples/including-excluding-files-from-war.html).
> With m2e-wtp, the property is correctly added to "org.eclipse.wst.common.component" setting file but JBoss AS tools only support 2 special characters ('*', '?').

--
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 jbosstools-issues mailing list