[ 
http://jira.codehaus.org/browse/MSOURCES-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg closed MSOURCES-29.
-----------------------------------

      Assignee: Dennis Lundberg
    Resolution: Cannot Reproduce

> <excludeResources> is not working
> ---------------------------------
>
>                 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
>            Assignee: Dennis Lundberg
>            Priority: Critical
>         Attachments: attached1.doc, MSOURCES-29.zip
>
>
> In the pom.xml resource portion we have define the following item:
> {code:xml}      
>      <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>
> {code}
> 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, 
> {code:xml}      
>      <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>
> {code}
> 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

        

Reply via email to