<excludeResources> is not working, even in MSOURCES-22, it says closed. Would
some one take a look for me ?
------------------------------------------------------------------------------------------------------------
Key: MSOURCES-29
URL: http://jira.codehaus.org/browse/MSOURCES-29
Project: Maven 2.x Source Plugin
Issue Type: Bug
Affects Versions: 2.0.4
Environment: unix SunOS 5.10
Reporter: Michael Meng
Priority: Critical
Attachments: attached1.doc
In the pom.xml resource portion we have define the following item:
<resource>
<directory>${basedir}/target/checkout/src/com/chu/uhb/idl</directory>
<targetPath>com/chu/uhb/idl</targetPath>
<includes>
<include>**/*.idl</include>
</includes>
</resource>
<resource>
<directory>${basedir}/target/checkout/approot/images/myimg</directory>
<targetPath>images/img</targetPath>
<includes>
<include>**/*.gif</include>
</includes>
</resource>
Since these idl file is under the src folder, when we create the source jar
file, we do not want to include them again. We put the following in the pom.xml
to exclude them,
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<excludeResources>true</excludeResources>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
but seems the <excludeResources> is not working. The idl file are show up twice
in the source jar and img show up once in the source
see the attached file for detail --
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira