Hi there,
How should I be configuring the test-jar goal of the jar plugin to
exclude resources such as xml files... Here is a sample below
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
<testClassesDirectory>
${basedir}/src/test/**/*.java
</testClassesDirectory>
<excludes>
**/*.xml
</excludes>
</goals>
</execution>
</executions>
</plugin>
This does nothing with the excludes....
--------------------------------------------------------
This email and associated attachments may contain confidential and privileged
CITEC information that is provided solely for the use of the intended
addressee. Views and opinions expressed in this email are those of the
individual sender and are not necessarily the views and opinions of CITEC
unless the sender expressly states that such views and opinions are those of
CITEC. The privilege and confidentiality associated with this email and
attachments will not be waived, lost or rescinded by reason of mistaken
delivery. Should you receive this email by mistake, please notify the sender by
return email then delete the email from your computer system. You must not use,
copy, modify, print, or distribute the email or the information and attachments
contained within same to any third party. CITEC does not accept any liability
in respect of viruses or computer problems experienced by the recipient through
access gained to this email and its attachments.
--------------------------------------------------------