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

Dennis Lundberg commented on MSOURCES-27:
-----------------------------------------

I can now confirm that 2.0.2 works as describe in my previous comment.

I'm considering changing from 
{code}
if ( resourceExcludes == null || resourceExcludes.size() == 0 )
{
    excludes = FileUtils.getDefaultExcludes();
}
else
{
    excludes = (String[]) resourceExcludes.toArray( new 
String[resourceExcludes.size()] );
}
{code}

to

{code}
if ( resourceExcludes == null || resourceExcludes.size() == 0 )
{
    excludes = FileUtils.getDefaultExcludes();
}
else
{
    List allExcludes = new ArrayList();
    allExcludes.addAll( FileUtils.getDefaultExcludesAsList() );
    allExcludes.addAll( resourceExcludes );
    excludes = (String[]) allExcludes.toArray( new String[allExcludes.size()] );
}
{code}

Does that sound right to you Daniel?

> 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