[ 
http://jira.codehaus.org/browse/MSOURCES-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113000
 ] 

Daniel Kulp commented on MSOURCES-27:
-------------------------------------


This one is a bit more complex.    For CXF, we have properties files in the 
src/main/java dir (i18n message files) that are included via resource.   Thus, 
in the pom, we have:

        <resources>
            <resource>
                <directory>src/main/java</directory>
                <excludes>
                    <exclude>**/*.java</exclude>
                </excludes>
            </resource>
        </resources>
to grab all the non-java files as resources.

The new source plugin uses the **/*.java as an exclude, but but DOESN'T add the 
list of default excludes.   Thus, the source plugin will get the .svn dirs.

Basically, for resources that don't have excludes, the source plugin works fine 
as it uses the default excludes.   For those that DO define an exclude, it 
doesn't quite work as expected.





> source jar includes .svn directories
> ------------------------------------
>
>                 Key: MSOURCES-27
>                 URL: http://jira.codehaus.org/browse/MSOURCES-27
>             Project: Maven 2.x Source Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.3
>            Reporter: Daniel Kulp
>
> source:jar with 2.0.3 is adding the .svn directories into the jar.    2.0.2 
> did not.

-- 
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