I believe that there is a bug which means that multiple excludes will
not work but a single one will. Im afraid I cant remember where I read
about this as it was a while ago that I came across it.
Martin Goldhahn wrote:
Hi!
I'm using Maven 2.0.1
I have the following snippet in my pom.xml:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<excludes>WEB-INF/lib/geronimo-spec*.jar,
WEB-INF/lib/junit*.jar</excludes>
</configuration>
</plugin>
This doesn't seem to work, according to the doc it should. How do I tell
the plug-in the exclude both my JUnit files and the Geronimo-spec files.
I tried regexps, and the warSourceExcludes tag instead of the excludes
tag. The result is the same.
Is this a bug or am I doing something wrong?
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Tim Davies
Analyst Developer
KTS PLC: Service you can bank on
8th Floor, Finsbury Tower,
103-105 Bunhill Row,
London EC1Y 8LZ
tel: +44 (0)20 7256 2300
fax: +44 (0)20 7256 2301
email: [EMAIL PROTECTED]
web: http://www.ktsplc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]