From 2fe989371be2214c48d104b3c93d92ab39fca137 Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Sun, 20 Jun 2004 14:01:19 +0000 Subject: [PATCH] Add some default excludes. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162817 13f79535-47bb-0310-9956-ffa450edef68 --- maven-model/maven.mdo | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/maven-model/maven.mdo b/maven-model/maven.mdo index a7a4192157..b40796512e 100644 --- a/maven-model/maven.mdo +++ b/maven-model/maven.mdo @@ -915,6 +915,42 @@ new ArrayList() + + + 3.0.0+ + + public List getDefaultExcludes() + { + List defaultExcludes = new ArrayList(); + defaultExcludes.add( "**/*~" ); + defaultExcludes.add( "**/#*#" ); + defaultExcludes.add( "**/.#*" ); + defaultExcludes.add( "**/%*%" ); + defaultExcludes.add( "**/._*" ); + + // CVS + defaultExcludes.add( "**/CVS" ); + defaultExcludes.add( "**/CVS/**" ); + defaultExcludes.add( "**/.cvsignore" ); + + // SCCS + defaultExcludes.add( "**/SCCS" ); + defaultExcludes.add( "**/SCCS/**" ); + + // Visual SourceSafe + defaultExcludes.add( "**/vssver.scc" ); + + // Subversion + defaultExcludes.add( "**/.svn" ); + defaultExcludes.add( "**/.svn/**" ); + + // Mac + defaultExcludes.add( "**/.DS_Store" ); + return defaultExcludes; + } + + + Parent