Author: alessio.soldano(a)jboss.com
Date: 2012-02-24 05:58:44 -0500 (Fri, 24 Feb 2012)
New Revision: 15723
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml
Log:
[JBWS-3435] Moving appclient patching to the module that actually needs that only (shared
testsuite in cxf stack) and also running the task in pre-integration-test maven phase only
to avoid duplicated exections
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2012-02-24 05:10:29 UTC (rev 15722)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2012-02-24 10:58:44 UTC (rev 15723)
@@ -1402,61 +1402,6 @@
</properties>
</profile>
- <profile>
- <id>noprepare</id>
- <activation>
- <property>
- <name>!noprepare</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>appclient-patch</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <!-- TODO: I didn't find way how to reference project root
directory in maven :( -->
- <!-- The ${basedir} value changes depending in which directory the
build is executed. -->
- <tasks>
- <echo
message="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
- <echo
message="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
- <echo message="XXXXX patching appclient 1-st attempt
XXXXX"/>
- <echo
message="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
- <echo
message="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
- <copy
-
file="${basedir}/../src/test/resources/${jbossws.integration.target}/appclient.xml"
-
tofile="${jboss.home}/appclient/configuration/appclient.xml"
- failonerror="false"
- verbose="true"
- overwrite="true"
- />
- <echo
message="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
- <echo
message="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
- <echo message="XXXXX patching appclient 2-nd attempt
XXXXX"/>
- <echo
message="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
- <echo
message="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/>
- <copy
-
file="${basedir}/src/test/resources/${jbossws.integration.target}/appclient.xml"
-
tofile="${jboss.home}/appclient/configuration/appclient.xml"
- failonerror="false"
- verbose="true"
- overwrite="true"
- />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
</profiles>
</project>
Modified: stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml 2012-02-24 05:10:29 UTC (rev
15722)
+++ stack/cxf/trunk/modules/testsuite/shared-tests/pom.xml 2012-02-24 10:58:44 UTC (rev
15723)
@@ -132,6 +132,24 @@
</tasks>
</configuration>
</execution>
+ <execution>
+ <id>appclient-patch</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy
+
file="${project.parent.build.directory}/../src/test/resources/${jbossws.integration.target}/appclient.xml"
+
tofile="${jboss.home}/appclient/configuration/appclient.xml"
+ failonerror="false"
+ verbose="true"
+ overwrite="true"
+ />
+ </tasks>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin> <!-- This copies jbossws-cxf-factories jar to endorsed dir
before the integration-tests are run -->
Show replies by date