Author: arnaudsimon
Date: Thu Aug 23 05:11:11 2007
New Revision: 568954

URL: http://svn.apache.org/viewvc?rev=568954&view=rev
Log:
updated from M2 branch

Modified:
    incubator/qpid/trunk/qpid/java/perftests/jar-with-dependencies.xml
    incubator/qpid/trunk/qpid/java/perftests/pom.xml

Modified: incubator/qpid/trunk/qpid/java/perftests/jar-with-dependencies.xml
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/perftests/jar-with-dependencies.xml?rev=568954&r1=568953&r2=568954&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/perftests/jar-with-dependencies.xml 
(original)
+++ incubator/qpid/trunk/qpid/java/perftests/jar-with-dependencies.xml Thu Aug 
23 05:11:11 2007
@@ -16,32 +16,67 @@
     specific language governing permissions and limitations
     under the License.
 -->
-<!-- This is an assembly descriptor that produces a jar file that contains all 
the
-     dependencies, fully expanded into a single jar, required to run the tests 
of
-     a maven project. 
- -->
+<!-- This is an assembly descriptor that produces a distribution that contains 
all the
+     dependencies, with a manifest only jar that references them, required to 
run the 
+     tests of a maven project. 
+-->
 <assembly>
-  <id>all-test-deps</id>
-  <formats>
-    <format>jar</format>
-  </formats>
-  <includeBaseDirectory>false</includeBaseDirectory>
-  <dependencySets>
-    <dependencySet>
-      <outputDirectory></outputDirectory>
-      <outputFileNameMapping></outputFileNameMapping>
-      <unpack>true</unpack>
-      <scope>test</scope>
-    </dependencySet>
-  </dependencySets>
-  <fileSets>
+    <id>all-test-deps</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>/</outputDirectory>
+            <unpack>false</unpack>
+            <scope>test</scope>
+        </dependencySet>
+    </dependencySets>
+    <fileSets>
+        <fileSet>
+            <directory>target/classes</directory>
+            <outputDirectory></outputDirectory>
+        </fileSet>
+        <fileSet>
+            <directory>target/test-classes</directory>
+            <outputDirectory></outputDirectory>
+        </fileSet>
+
+    <!-- Include all the test scripts, both generated and hand-written. -->
     <fileSet>
-      <directory>target/classes</directory>
+      <directory>target</directory>
       <outputDirectory></outputDirectory>
+      <includes>
+          <include>*.sh</include>
+      </includes>
     </fileSet>
     <fileSet>
-      <directory>target/test-classes</directory>
+      <directory>etc/scripts</directory>
       <outputDirectory></outputDirectory>
+      <includes>
+          <include>*.sh</include>
+      </includes>
     </fileSet>
-  </fileSets>
+
+        <!-- Include the build artifact. -->
+        <fileSet>
+            <directory>target</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                
<include>qpid-perftests-1.0-incubating-M2-SNAPSHOT.jar</include>
+            </includes>
+        </fileSet>
+
+        <!-- Include the manifest with classpath jar. -->
+        <fileSet>
+            <directory>target</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>qpid-perftests-${qpid.version}.jar</include>
+            </includes>
+        </fileSet>
+        
+    </fileSets>
 </assembly>


Reply via email to