Author: mprudhom
Date: Thu Nov 16 16:13:19 2006
New Revision: 475995

URL: http://svn.apache.org/viewvc?view=rev&rev=475995
Log:
Made the source assembly unpack into a different folder than the binary 
assembly (for example, the binary assembly might unpack to 
"openjpa-project-0.9.7-incubating-SNAPSHOT", and the source assembly will 
unpack to "openjpa-project-0.9.7-incubating-SNAPSHOT-source").

Modified:
    incubator/openjpa/trunk/openjpa-project/source-assembly.xml

Modified: incubator/openjpa/trunk/openjpa-project/source-assembly.xml
URL: 
http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-project/source-assembly.xml?view=diff&rev=475995&r1=475994&r2=475995
==============================================================================
--- incubator/openjpa/trunk/openjpa-project/source-assembly.xml (original)
+++ incubator/openjpa/trunk/openjpa-project/source-assembly.xml Thu Nov 16 
16:13:19 2006
@@ -19,11 +19,17 @@
     <formats>
         <format>zip</format>
     </formats>
-    <includeBaseDirectory>true</includeBaseDirectory>
+    <!--
+        rather than including the base directory (which would cause this
+        archive to unpack into the same directory as the binary
+        distribution), we specify the directory into which to put
+        sources below, in the <outputDirectory> tags
+    -->
+    <includeBaseDirectory>false</includeBaseDirectory>
     <fileSets>
         <fileSet>
             <directory>..</directory>
-            <outputDirectory></outputDirectory>
+            <outputDirectory>${artifactId}-${version}-source</outputDirectory>
             <excludes>
                 <exclude>**/target/**</exclude>
             </excludes>
@@ -38,6 +44,7 @@
                 http://www.apache.org/legal/src-headers.html#notice
         -->
         <fileSet>
+            <outputDirectory>${artifactId}-${version}-source</outputDirectory>
             <includes>
                 <include>README</include>
                 <include>DISCLAIMER</include>


Reply via email to