crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject git commit: CRUNCH-108: Remove temp files from source release.
Date Fri, 09 Nov 2012 17:38:05 GMT
Updated Branches:
  refs/heads/master 26021d7bb -> edc33d885


CRUNCH-108: Remove temp files from source release.

Exclude temp files created by maven-release-plugin from source dist.
Excludes taken from apache-source-release-assembly-descriptor 1.0.4.


Project: http://git-wip-us.apache.org/repos/asf/incubator-crunch/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-crunch/commit/edc33d88
Tree: http://git-wip-us.apache.org/repos/asf/incubator-crunch/tree/edc33d88
Diff: http://git-wip-us.apache.org/repos/asf/incubator-crunch/diff/edc33d88

Branch: refs/heads/master
Commit: edc33d8857ed0b574c8f5248e95b12d8e746d929
Parents: 26021d7
Author: Matthias Friedrich <matt@mafr.de>
Authored: Wed Nov 7 22:01:33 2012 +0100
Committer: Matthias Friedrich <matt@mafr.de>
Committed: Wed Nov 7 22:01:33 2012 +0100

----------------------------------------------------------------------
 crunch-dist/src/main/assembly/src.xml |   30 ++++++++++++++++++++-------
 1 files changed, 22 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/edc33d88/crunch-dist/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/crunch-dist/src/main/assembly/src.xml b/crunch-dist/src/main/assembly/src.xml
index bbd4f7c..b105d18 100644
--- a/crunch-dist/src/main/assembly/src.xml
+++ b/crunch-dist/src/main/assembly/src.xml
@@ -37,14 +37,28 @@
             <fileMode>0644</fileMode>
             <directoryMode>0755</directoryMode>
             <excludes>
-              <exclude>target/**</exclude>
-              <exclude>*/target/**</exclude>
-              <exclude>.classpath</exclude>
-              <exclude>*/.classpath/**</exclude>
-              <exclude>.project</exclude>
-              <exclude>*/.project/**</exclude>
-              <exclude>.settings</exclude>
-              <exclude>*/.settings/**</exclude>
+              <!-- Exclusions taken from apache-source-release-assembly-descriptor 1.0.4
-->
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
+              <!-- IDEs -->
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.idea(/.*)?]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?out(/.*)?]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?]</exclude>
+        
+              <!-- misc -->
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude>
+        
+              <!-- release-plugin temp files -->
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude>
+              <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude>
             </excludes>
           </fileSet>
         </fileSets>


Mime
View raw message