Hi,

I'm trying to exclude javascript source files from war packaging process and
include minified files that end with -min.js

files are named as such
/msa-network/msa-network.js
/msa-network/msa-network-min.js

etc

On regex planet, http://www.regexplanet.com/, this regular expression does
the trick:
(?<!min)\.js

However, in the maven-war-plugin I use this in packagingExcludes and it
doesn't work. The files are still included

&lt;packagingExcludes></packagingExcludes>

I've tried other variations. Nothing works, although I did confirm that
regular expressions work in packagingExcludes.
I'm using maven-war-plugin 2.2-SNAPSHOT

Any suggestions?

Marc


--
View this message in context: 
http://maven.40175.n5.nabble.com/mavem-war-plugin-packagingExcludes-regex-not-working-tp5139981p5139981.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to