[
http://jira.codehaus.org/browse/MSOURCES-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113004
]
Daniel Kulp commented on MSOURCES-27:
-------------------------------------
Just checked the resource plugin. The resource plugin does:
{code}
if ( resource.getExcludes() != null &&
!resource.getExcludes().isEmpty() )
{
scanner.setExcludes( (String[]) resource.getExcludes().toArray(
EMPTY_STRING_ARRAY ) );
}
scanner.addDefaultExcludes();
scanner.scan();
{code}
Thus, it always adds the default excludes to the scanner that it uses. The
sources plugin should follow the same behavior to make sure the two are
consistent.
> 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