You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by di...@apache.org on 2009/11/08 20:37:52 UTC
svn commit: r833919 - /webservices/woden/trunk/java/woden-tests/pom.xml
Author: dims
Date: Sun Nov 8 19:37:51 2009
New Revision: 833919
URL: http://svn.apache.org/viewvc?rev=833919&view=rev
Log:
skip tests if "-Dtest=false" is specified in the command line
Modified:
webservices/woden/trunk/java/woden-tests/pom.xml
Modified: webservices/woden/trunk/java/woden-tests/pom.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/pom.xml?rev=833919&r1=833918&r2=833919&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-tests/pom.xml (original)
+++ webservices/woden/trunk/java/woden-tests/pom.xml Sun Nov 8 19:37:51 2009
@@ -30,48 +30,57 @@
<name>Woden - Tests</name>
<packaging>pom</packaging>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-invoker-plugin</artifactId>
- <!-- 1.2 is needed for mavenOpts -->
- <version>1.2</version>
- <executions>
- <execution>
- <id>test-dom</id>
- <phase>test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <projectsDirectory>.</projectsDirectory>
- <pomIncludes>
- <pomInclude>pom-impl-dom.xml</pomInclude>
- </pomIncludes>
- <mavenOpts>-Dorg.apache.woden.WSDLFactory=org.apache.woden.internal.DOMWSDLFactory</mavenOpts>
- <streamLogs>true</streamLogs>
- <noLog>true</noLog>
- </configuration>
- </execution>
- <execution>
- <id>test-om</id>
- <phase>test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <projectsDirectory>.</projectsDirectory>
- <pomIncludes>
- <pomInclude>pom-impl-om.xml</pomInclude>
- </pomIncludes>
- <mavenOpts>-Dorg.apache.woden.WSDLFactory=org.apache.woden.internal.OMWSDLFactory</mavenOpts>
- <streamLogs>true</streamLogs>
- <noLog>true</noLog>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
\ No newline at end of file
+ <profiles>
+ <profile>
+ <id>test</id>
+ <activation>
+ <property>
+ <name>!test</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <!-- 1.2 is needed for mavenOpts -->
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>test-dom</id>
+ <phase>test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <projectsDirectory>.</projectsDirectory>
+ <pomIncludes>
+ <pomInclude>pom-impl-dom.xml</pomInclude>
+ </pomIncludes>
+ <mavenOpts>-Dorg.apache.woden.WSDLFactory=org.apache.woden.internal.DOMWSDLFactory</mavenOpts>
+ <streamLogs>true</streamLogs>
+ <noLog>true</noLog>
+ </configuration>
+ </execution>
+ <execution>
+ <id>test-om</id>
+ <phase>test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <projectsDirectory>.</projectsDirectory>
+ <pomIncludes>
+ <pomInclude>pom-impl-om.xml</pomInclude>
+ </pomIncludes>
+ <mavenOpts>-Dorg.apache.woden.WSDLFactory=org.apache.woden.internal.OMWSDLFactory</mavenOpts>
+ <streamLogs>true</streamLogs>
+ <noLog>true</noLog>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org