maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r1690973 - /maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/archive/task/AddFileSetsTask.java
Date Tue, 14 Jul 2015 15:11:51 GMT
Author: bimargulies
Date: Tue Jul 14 15:11:50 2015
New Revision: 1690973

URL: http://svn.apache.org/r1690973
Log:
MASSEMBLY-777: The assembly plugin refuses to copy a file named lexicon.filtered
 o AddFileSetsTask.java contained an undocumented, unconfigurable, exclusion for files named
*.filtered and *.formatted.
Since this is going into a major (3.0.0) release, I'm removing it without further ceremony.

Modified:
    maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/archive/task/AddFileSetsTask.java

Modified: maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/archive/task/AddFileSetsTask.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/archive/task/AddFileSetsTask.java?rev=1690973&r1=1690972&r2=1690973&view=diff
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/archive/task/AddFileSetsTask.java
(original)
+++ maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/archive/task/AddFileSetsTask.java
Tue Jul 14 15:11:50 2015
@@ -164,8 +164,7 @@ public class AddFileSetsTask
             task.setUseDefaultExcludes( fileSet.isUseDefaultExcludes() );
 
             final List<String> excludes = fileSet.getExcludes();
-            excludes.add( "**/*.filtered" );
-            excludes.add( "**/*.formatted" );
+            // MASSEMBLY-777: before 3.0.0, this forced an exclude for *.filtered and *.formatted
             task.setExcludes( excludes );
 
             task.setIncludes( fileSet.getIncludes() );



Mime
View raw message