[jbossws-commits] JBossWS SVN: r9655 - in stack/metro/trunk/modules/testsuite/framework-tests: scripts and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Mon Mar 23 11:07:35 EDT 2009


Author: richard.opalka at jboss.com
Date: 2009-03-23 11:07:34 -0400 (Mon, 23 Mar 2009)
New Revision: 9655

Added:
   stack/metro/trunk/modules/testsuite/framework-tests/scripts/assembly-junit-artifacts.xml
Modified:
   stack/metro/trunk/modules/testsuite/framework-tests/pom.xml
Log:
[JBWS-2327] providing junit jar for non binary distribution

Modified: stack/metro/trunk/modules/testsuite/framework-tests/pom.xml
===================================================================
--- stack/metro/trunk/modules/testsuite/framework-tests/pom.xml	2009-03-23 15:07:06 UTC (rev 9654)
+++ stack/metro/trunk/modules/testsuite/framework-tests/pom.xml	2009-03-23 15:07:34 UTC (rev 9655)
@@ -1,11 +1,11 @@
 <project 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/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
-  
+
   <name>JBoss Web Services - Stack Metro Framework Tests</name>
   <artifactId>jbossws-metro-framework-tests</artifactId>
   <packaging>jar</packaging>
-  
+
   <!-- Parent -->
   <parent>
     <groupId>org.jboss.ws.metro</groupId>
@@ -13,7 +13,7 @@
     <version>3.1.1-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
-  
+
   <!-- Dependencies -->
   <dependencies>
     <dependency>
@@ -23,7 +23,7 @@
       <type>zip</type>
     </dependency>
   </dependencies>
-  
+
   <!-- Plugins -->
   <build>
     <plugins>
@@ -44,11 +44,11 @@
       </plugin>
     </plugins>
   </build>
-  
+
   <!-- Profiles -->
   <profiles>
-    
-    <!-- 
+
+    <!--
     Name:  noprepare
     Descr: Skip test preparation with -Dnoprepare  
     -->
@@ -117,10 +117,30 @@
               </execution>
             </executions>
           </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <configuration>
+              <finalName>junit-libs</finalName>
+              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+              <appendAssemblyId>false</appendAssemblyId>
+              <descriptors>
+                <descriptor>scripts/assembly-junit-artifacts.xml</descriptor>
+              </descriptors>
+            </configuration>
+            <executions>
+              <execution>
+                <id>make-assembly</id>
+                <phase>validate</phase>
+                <goals>
+                  <goal>directory-inline</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>
-    
+
   </profiles>
-  
+
 </project>

Added: stack/metro/trunk/modules/testsuite/framework-tests/scripts/assembly-junit-artifacts.xml
===================================================================
--- stack/metro/trunk/modules/testsuite/framework-tests/scripts/assembly-junit-artifacts.xml	                        (rev 0)
+++ stack/metro/trunk/modules/testsuite/framework-tests/scripts/assembly-junit-artifacts.xml	2009-03-23 15:07:34 UTC (rev 9655)
@@ -0,0 +1,22 @@
+<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.0-SNAPSHOT.xsd">
+
+  <id>junit-libs</id>
+  <formats>
+    <format>dir</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+
+  <dependencySets>
+    <dependencySet>
+      <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+      <useStrictFiltering>true</useStrictFiltering>
+      <scope>test</scope>
+      <unpack>false</unpack>
+      <includes>
+        <include>*:junit:jar</include>
+      </includes>
+    </dependencySet>
+  </dependencySets>
+
+</assembly>




More information about the jbossws-commits mailing list