On 2012-01-12 14:57, mschipperheyn wrote: > 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
It doesn't for me. I get "No" in the "matches()" column for both the above file names. > > However, in the maven-war-plugin I use this in packagingExcludes and it > doesn't work. The files are still included > > <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: [email protected] > For additional commands, e-mail: [email protected] > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
