[ https://issues.apache.org/jira/browse/MWAR-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790694#comment-16790694 ]
Cedric HENRY commented on MWAR-378: ----------------------------------- Have you tried not using squared brackets within the regular expression? e.g.: <packagingExcludes>%regex[WEB-INF/lib/(email\\-library\\-|web\\-services\\-library\\-).*\\.jar]</packagingExcludes> > 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}<packagingExcludes>%regex[WEB-INF/lib/[email\\-library\\-|web\\-services\\-library\\-].*\\.jar]</packagingExcludes>{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)