From 7c947bfd5386097f035a1e407b6f7e2481037161 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Thu, 21 Apr 2005 05:10:25 +0000 Subject: [PATCH] fix problems with subversion git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164005 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/tools/plugin/util/PluginUtils.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java b/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java index 80ebdc9e32..f62cc23c93 100644 --- a/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java +++ b/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/util/PluginUtils.java @@ -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(); @@ -93,4 +98,4 @@ public final class PluginUtils w.endElement(); } -} \ No newline at end of file +}