Author: sgoeschl
Date: Mon Oct  4 20:21:12 2010
New Revision: 1004396

URL: http://svn.apache.org/viewvc?rev=1004396&view=rev
Log:
[EXEC-48] Add assembly to create the Exec test distribution to the Maven build

Added:
    commons/proper/exec/trunk/src/assembly/test-distribution.xml
Modified:
    commons/proper/exec/trunk/pom.xml

Modified: commons/proper/exec/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/exec/trunk/pom.xml?rev=1004396&r1=1004395&r2=1004396&view=diff
==============================================================================
--- commons/proper/exec/trunk/pom.xml (original)
+++ commons/proper/exec/trunk/pom.xml Mon Oct  4 20:21:12 2010
@@ -211,7 +211,7 @@
                         <artifactId>maven-assembly-plugin</artifactId>
                         <configuration>
                             <descriptors>
-                                <descriptor>src/assembly/test.xml</descriptor>
+                                
<descriptor>src/assembly/test-distribution.xml</descriptor>
                             </descriptors>
                             <tarLongFileMode>gnu</tarLongFileMode>
                         </configuration>

Added: commons/proper/exec/trunk/src/assembly/test-distribution.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/assembly/test-distribution.xml?rev=1004396&view=auto
==============================================================================
--- commons/proper/exec/trunk/src/assembly/test-distribution.xml (added)
+++ commons/proper/exec/trunk/src/assembly/test-distribution.xml Mon Oct  4 
20:21:12 2010
@@ -0,0 +1,68 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<assembly>
+    <id>test</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <baseDirectory></baseDirectory>
+    <fileSets>
+        <fileSet>
+            <includes>
+                <include>LICENSE.txt</include>
+                <include>NOTICE.txt</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>src/test/bin</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>testme.bat</include>
+                <include>testme.dcl</include>
+            </includes>
+            <filtered>true</filtered>
+        </fileSet>
+        <fileSet>
+            <directory>src/test/scripts</directory>
+        </fileSet>
+        <fileSet>
+            <directory>target</directory>
+            <outputDirectory>lib</outputDirectory>
+            <includes>
+                
<include>${artifact.artifactId}-${artifact.version}.jar</include>
+                
<include>${artifact.artifactId}-${artifact.version}-tests.jar</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+    <files>
+        <file>
+            <source>src/test/bin/testme.sh</source>
+            <fileMode>775</fileMode>
+            <filtered>true</filtered>
+        </file>
+    </files>
+    <dependencySets>
+        <dependencySet>
+            <scope>test</scope>
+            <includes>
+                <include>junit:junit</include>
+            </includes>
+            <outputDirectory>lib</outputDirectory>
+        </dependencySet>
+    </dependencySets>
+</assembly>


Reply via email to