mirror of https://github.com/apache/maven.git
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:
parent
125430b2f6
commit
7c947bfd53
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue