fix problems with subversion

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-21 05:10:25 +00:00
parent 125430b2f6
commit 7c947bfd53
1 changed files with 7 additions and 2 deletions

View File

@ -46,7 +46,12 @@ public final class PluginUtils
scanner.setIncludes( new String[]{include} );
if ( !StringUtils.isEmpty( exclude ) )
{
scanner.setExcludes( new String[]{exclude} );
// TODO: need default excludes in scanner
scanner.setExcludes( new String[]{exclude, "**/.svn/**"} );
}
else
{
scanner.setExcludes( new String[]{"**/.svn/**"} );
}
scanner.scan();