You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/02/11 13:18:06 UTC

svn commit: r1243044 - in /axis/axis1/java/trunk/samples: echo-sample/pom.xml transport-sample/pom.xml

Author: veithen
Date: Sat Feb 11 12:18:05 2012
New Revision: 1243044

URL: http://svn.apache.org/viewvc?rev=1243044&view=rev
Log:
Prevent Axis from creating a server-config.wsdd file in the source tree during test execution.

Modified:
    axis/axis1/java/trunk/samples/echo-sample/pom.xml
    axis/axis1/java/trunk/samples/transport-sample/pom.xml

Modified: axis/axis1/java/trunk/samples/echo-sample/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/samples/echo-sample/pom.xml?rev=1243044&r1=1243043&r2=1243044&view=diff
==============================================================================
--- axis/axis1/java/trunk/samples/echo-sample/pom.xml (original)
+++ axis/axis1/java/trunk/samples/echo-sample/pom.xml Sat Feb 11 12:18:05 2012
@@ -72,6 +72,18 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>default-test</id>
+                        <configuration>
+                            <!-- Prevent Axis from creating a server-config.wsdd file in the source tree -->
+                            <workingDirectory>${project.build.directory}/work</workingDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>

Modified: axis/axis1/java/trunk/samples/transport-sample/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/samples/transport-sample/pom.xml?rev=1243044&r1=1243043&r2=1243044&view=diff
==============================================================================
--- axis/axis1/java/trunk/samples/transport-sample/pom.xml (original)
+++ axis/axis1/java/trunk/samples/transport-sample/pom.xml Sat Feb 11 12:18:05 2012
@@ -50,7 +50,7 @@
             <version>${project.version}</version>
         </dependency>
     </dependencies>
-    <!-- build>
+    <build>
         <plugins>
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
@@ -58,46 +58,12 @@
                     <execution>
                         <id>default-test</id>
                         <configuration>
-                            <skip>true</skip>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>${project.groupId}</groupId>
-                <artifactId>maven-axis-server-plugin</artifactId>
-                <version>${project.version}</version>
-                <executions>
-                    <execution>
-                        <id>start-server</id>
-                        <goals>
-                            <goal>start-server</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>stop-server</id>
-                        <goals>
-                            <goal>stop-server</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-failsafe-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>integration-test</goal>
-                            <goal>verify</goal>
-                        </goals>
-                        <configuration>
-                            <includes>
-                                <include>**/Test*.java</include>
-                            </includes>
+                            <!-- Prevent Axis from creating a server-config.wsdd file in the source tree -->
+                            <workingDirectory>${project.build.directory}/work</workingDirectory>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
         </plugins>
-    </build -->
+    </build>
 </project>