Author: richard.opalka(a)jboss.com
Date: 2009-03-23 10:13:38 -0400 (Mon, 23 Mar 2009)
New Revision: 9652
Added:
stack/native/trunk/modules/testsuite/framework-tests/scripts/assembly-junit-artifacts.xml
Modified:
stack/native/trunk/modules/testsuite/framework-tests/pom.xml
Log:
[JBWS-2327] providing junit jar for non binary distribution tests
Modified: stack/native/trunk/modules/testsuite/framework-tests/pom.xml
===================================================================
--- stack/native/trunk/modules/testsuite/framework-tests/pom.xml 2009-03-23 13:28:07 UTC
(rev 9651)
+++ stack/native/trunk/modules/testsuite/framework-tests/pom.xml 2009-03-23 14:13:38 UTC
(rev 9652)
@@ -117,6 +117,26 @@
</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>
Added:
stack/native/trunk/modules/testsuite/framework-tests/scripts/assembly-junit-artifacts.xml
===================================================================
---
stack/native/trunk/modules/testsuite/framework-tests/scripts/assembly-junit-artifacts.xml
(rev 0)
+++
stack/native/trunk/modules/testsuite/framework-tests/scripts/assembly-junit-artifacts.xml 2009-03-23
14:13:38 UTC (rev 9652)
@@ -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>