Author: alessio.soldano(a)jboss.com
Date: 2011-04-18 18:36:47 -0400 (Mon, 18 Apr 2011)
New Revision: 14161
Modified:
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/pom.xml
stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml
stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml
Log:
[JBWS-3231] Copy jbossws-cxf-factories.jar to testsuite endorsed dirs in cxf-tests and
cxf-spring-tests modules; this fix failures with Maven3 in
org.jboss.test.ws.jaxws.samples.mtom.MtomTestCase
Modified: stack/cxf/trunk/modules/testsuite/cxf-spring-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-spring-tests/pom.xml 2011-04-18 21:12:55 UTC
(rev 14160)
+++ stack/cxf/trunk/modules/testsuite/cxf-spring-tests/pom.xml 2011-04-18 22:36:47 UTC
(rev 14161)
@@ -106,6 +106,29 @@
</execution>
</executions>
</plugin>
+ <plugin> <!-- This copies jbossws-cxf-factories jar to endorsed dir
before the integration-tests are run -->
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-factories-jar</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+
<outputDirectory>${project.build.directory}/endorsed</outputDirectory>
+ <resources>
+ <resource>
+
<directory>${basedir}/../../endorsed/target/</directory>
+ <includes>
+
<include>jbossws-cxf-factories-${project.version}.jar</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml 2011-04-18 21:12:55 UTC (rev
14160)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/pom.xml 2011-04-18 22:36:47 UTC (rev
14161)
@@ -74,6 +74,29 @@
</execution>
</executions>
</plugin>
+ <plugin> <!-- This copies jbossws-cxf-factories jar to endorsed dir
before the integration-tests are run -->
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-factories-jar</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+
<outputDirectory>${project.build.directory}/endorsed</outputDirectory>
+ <resources>
+ <resource>
+
<directory>${basedir}/../../endorsed/target/</directory>
+ <includes>
+
<include>jbossws-cxf-factories-${project.version}.jar</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml 2011-04-18 21:12:55 UTC (rev
14160)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml 2011-04-18 22:36:47 UTC (rev
14161)
@@ -152,6 +152,29 @@
</execution>
</executions>
</plugin>
+ <plugin> <!-- This copies jbossws-cxf-factories jar to endorsed dir
before the integration-tests are run -->
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-factories-jar</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+
<outputDirectory>${project.build.directory}/endorsed</outputDirectory>
+ <resources>
+ <resource>
+
<directory>${basedir}/../../endorsed/target/</directory>
+ <includes>
+
<include>jbossws-cxf-factories-${project.version}.jar</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
Show replies by date