ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1689255 - /webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml
Date Sun, 05 Jul 2015 13:31:09 GMT
Author: veithen
Date: Sun Jul  5 13:31:09 2015
New Revision: 1689255

URL: http://svn.apache.org/r1689255
Log:
The source distribution should generally contain all files in the source tree. Otherwise,
there is a high risk that the distribution doesn't conform to the requirements for a valid
release.

Also remove the unnecessary filtering.

Modified:
    webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml

Modified: webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml?rev=1689255&r1=1689254&r2=1689255&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml (original)
+++ webservices/woden/trunk/java/woden-dist/src/main/assembly/src.xml Sun Jul  5 13:31:09
2015
@@ -21,64 +21,43 @@
             <directory>../</directory>
             <outputDirectory></outputDirectory>
             <useDefaultExcludes>true</useDefaultExcludes>
-            <includes>
-                <include>pom.xml</include>
-                <include>etc/**</include>
-                <include>legal/**</include>
-                <include>resources/**</include>
-                <include>src/**</include>
-                <include>woden-ant/**</include>
-                <include>woden-core/**</include>
-                <include>woden-converter-maven-plugin/**</include>
-                <include>woden-tests/**</include>
-                <include>woden-tool/**</include>
-                <include>src/**</include>
-            </includes>
             <excludes>
-                <exclude>*.ipr</exclude>
-                <exclude>*.iws</exclude>
-                <exclude>*.iml</exclude>
-                <exclude>*.classpath</exclude>
-                <exclude>apache-boilerplate.txt</exclude>
-                <exclude>build.properties</exclude>
-                <exclude>build.xml</exclude>
-                <exclude>KEYS</exclude>
-                <exclude>woden-eclipse-formatter-conventions.xml
-                </exclude>
-                <exclude>woden-1.0.0M6-test-results.html</exclude>
-                <exclude>**/target</exclude>
-                <exclude>**/target/**</exclude>
-                <exclude>**/target/**/*</exclude>
-                <exclude>woden-ant/downloads/**</exclude>
-                <exclude>woden-ant/src/test/resources/w3c/**</exclude>
-                <exclude>resources/**</exclude>
+                <!-- build output -->
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
+                
+                <!-- NOTE: Most of the following excludes should not be required 
+                     if the standard release process is followed. This is because the 
+                     release plugin checks out project sources into a location like
+                     target/checkout, then runs the build from there. The result is
+                     a source-release archive that comes from a pretty clean directory
+                     structure.
+                     
+                     HOWEVER, if the release plugin is configured to run extra goals
+                     or generate a project website, it's definitely possible that some
+                     of these files will be present. So, it's safer to exclude them.
+                -->
+                     
+                <!-- 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>
-    <files>
-        <file>
-            <source>../README</source>
-            <outputDirectory>/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>0644</fileMode>
-        </file>
-        <file>
-            <source>../NOTICE</source>
-            <outputDirectory>/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>0644</fileMode>
-        </file>
-        <file>
-            <source>../LICENSE</source>
-            <outputDirectory>/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>0644</fileMode>
-        </file>
-        <file>
-            <source>../release-notes.html</source>
-            <outputDirectory>/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>0644</fileMode>
-        </file>
-    </files>
 </assembly>



Mime
View raw message