[weld-commits] Weld SVN: r3998 - in core/trunk/jboss-tck-runner: src/main and 1 other directories.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Mon Oct 12 20:07:35 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-10-12 20:07:35 -0400 (Mon, 12 Oct 2009)
New Revision: 3998

Added:
   core/trunk/jboss-tck-runner/src/main/assembly/
   core/trunk/jboss-tck-runner/src/main/assembly/assembly.xml
Modified:
   core/trunk/jboss-tck-runner/pom.xml
Log:
add assembly for tck-runner, allowing reuse

Modified: core/trunk/jboss-tck-runner/pom.xml
===================================================================
--- core/trunk/jboss-tck-runner/pom.xml	2009-10-12 23:20:32 UTC (rev 3997)
+++ core/trunk/jboss-tck-runner/pom.xml	2009-10-13 00:07:35 UTC (rev 3998)
@@ -31,11 +31,13 @@
          <groupId>org.testng</groupId>
          <artifactId>testng</artifactId>
          <classifier>jdk15</classifier>
+         <scope>test</scope>
       </dependency>
       
       <dependency>
          <groupId>org.jboss.test-harness</groupId>
          <artifactId>jboss-test-harness-jboss-as-52</artifactId>
+         <scope>test</scope>
       </dependency>
       
    </dependencies>
@@ -113,6 +115,24 @@
                <outputName>test-report</outputName>
             </configuration>
          </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <configuration>
+               <descriptors>
+                  <descriptor>src/main/assembly/assembly.xml</descriptor>
+               </descriptors>
+            </configuration>
+            <executions>
+               <execution>
+                  <id>make-assembly</id>
+                  <phase>package</phase>
+                  <goals>
+                     <goal>single</goal>
+                  </goals>
+               </execution>
+            </executions>
+         </plugin>
       </plugins>
    </build>
    

Added: core/trunk/jboss-tck-runner/src/main/assembly/assembly.xml
===================================================================
--- core/trunk/jboss-tck-runner/src/main/assembly/assembly.xml	                        (rev 0)
+++ core/trunk/jboss-tck-runner/src/main/assembly/assembly.xml	2009-10-13 00:07:35 UTC (rev 3998)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="
+              http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.1.xsd
+          ">
+   <id>dist</id>
+   <baseDirectory>/</baseDirectory>
+   <formats>
+      <format>zip</format>
+   </formats>
+   
+   <fileSets>
+      <fileSet>
+         <directory>${project.basedir}</directory>
+         <includes>
+            <include>src/**</include>
+            <include>pom.xml</include>
+         </includes>
+         <outputDirectory>/weld-tck-runner</outputDirectory>
+      </fileSet>
+      <fileSet>
+         <directory>${project.basedir}/../jboss-as</directory>
+         <includes>
+            <include>build.properties</include>
+            <include>build.xml</include>
+         </includes>
+         <outputDirectory>/jboss-as</outputDirectory>
+      </fileSet>
+   </fileSets>
+
+</assembly>



More information about the weld-commits mailing list