[jira] [Commented] (MWAR-378) Package Excludes doesn't work
[ https://issues.apache.org/jira/browse/MWAR-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16790694#comment-16790694 ] Cedric HENRY commented on MWAR-378: --- Have you tried not using squared brackets within the regular expression? e.g.: %regex[WEB-INF/lib/(email\\-library\\-|web\\-services\\-library\\-).*\\.jar] > Package Excludes doesn't work > - > > Key: MWAR-378 > URL: https://issues.apache.org/jira/browse/MWAR-378 > Project: Maven WAR Plugin > Issue Type: Bug > Environment: Windows 10, eclipse Mars >Reporter: Allyn Tobey >Priority: Major > Fix For: waiting-for-feedback > > > The regex compiles, and runs in java, but it doesn't exclude the jar files. I > am doing an or so i was able to use wild card characters and it is working > but wanted to let you know my regex didn't work. Is there something wrong > with my regex? > {code}%regex[WEB-INF/lib/[email\\-library\\-|web\\-services\\-library\\-].*\\.jar]{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MWAR-378) Package Excludes doesn't work
[ https://issues.apache.org/jira/browse/MWAR-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16461561#comment-16461561 ] Karl Heinz Marbaise commented on MWAR-378: -- Do you have an example project for that problem? Otherwise it's hard to identify if the problem is related to the plugin or something else? > Package Excludes doesn't work > - > > Key: MWAR-378 > URL: https://issues.apache.org/jira/browse/MWAR-378 > Project: Maven WAR Plugin > Issue Type: Bug > Environment: Windows 10, eclipse Mars >Reporter: Allyn Tobey >Priority: Major > Fix For: waiting-for-feedback > > > The regex compiles, and runs in java, but it doesn't exclude the jar files. I > am doing an or so i was able to use wild card characters and it is working > but wanted to let you know my regex didn't work. Is there something wrong > with my regex? > {code}%regex[WEB-INF/lib/[email\\-library\\-|web\\-services\\-library\\-].*\\.jar]{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)