You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wink.apache.org by bl...@apache.org on 2010/11/01 15:25:36 UTC

svn commit: r1029674 - /incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client-timeout/pom.xml

Author: bluk
Date: Mon Nov  1 14:25:36 2010
New Revision: 1029674

URL: http://svn.apache.org/viewvc?rev=1029674&view=rev
Log:
Don't run wink-itest-client-timeout unless assembly specified

Modified:
    incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client-timeout/pom.xml

Modified: incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client-timeout/pom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client-timeout/pom.xml?rev=1029674&r1=1029673&r2=1029674&view=diff
==============================================================================
--- incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client-timeout/pom.xml (original)
+++ incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client-timeout/pom.xml Mon Nov  1 14:25:36 2010
@@ -29,71 +29,82 @@
     <packaging>war</packaging>
     <name>Apache Wink client Timeout System Property Tests</name>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>test</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>test</goal>
-                        </goals>
+    <profiles>
+        <profile>
+            <id>testsuite</id>
+            <activation>
+                <property>
+                    <name>assemblyId</name>
+                </property>
+            </activation>
+         
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
                         <configuration>
                             <skip>true</skip>
                         </configuration>
-                    </execution>
-                    <execution>
-                        <id>integration</id>
-                        <phase>integration-test</phase>
-                        <goals>
-                            <goal>test</goal>
-                        </goals>
-                        <configuration>
-                            <skip>false</skip>
-                            <systemProperties>
-                                <property>
-                                    <name>wink-test-context-root</name>
-                                    <value>${artifactId}</value>
-                                </property>
-                                <property>
-                                    <name>wink-test-hostname</name>
-                                    <value>${wink.server.hostname}</value>
-                                </property>
-                                <property>
-                                    <name>wink-test-port</name>
-                                    <value>${wink.server.port}</value>
-                                </property>
-                                <property>
-                                    <name>wink-test-work-dir</name>
-                                    <value>${project.build.directory}</value>
-                                </property>
-                                <property>
-                                    <name>wink-test-container</name>
-                                    <value>${assemblyId}</value>
-                                </property>
-                                <property>
-                                    <name>wink-rest-filter-used</name>
-                                    <value>${wink.rest.filter.used}</value>
-                                </property>
-                                <property>
-                                    <name>wink.client.readTimeout</name>
-                                    <value>10000</value>
-                                </property>
-                                <property>
-                                    <name>wink.client.connectTimeout</name>
-                                    <value>10000</value>
-                                </property>
-                            </systemProperties>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
+                        <executions>
+                            <execution>
+                                <id>test</id>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>test</goal>
+                                </goals>
+                                <configuration>
+                                    <skip>true</skip>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>integration</id>
+                                <phase>integration-test</phase>
+                                <goals>
+                                    <goal>test</goal>
+                                </goals>
+                                <configuration>
+                                    <skip>false</skip>
+                                    <systemProperties>
+                                        <property>
+                                            <name>wink-test-context-root</name>
+                                            <value>${artifactId}</value>
+                                        </property>
+                                        <property>
+                                            <name>wink-test-hostname</name>
+                                            <value>${wink.server.hostname}</value>
+                                        </property>
+                                        <property>
+                                            <name>wink-test-port</name>
+                                            <value>${wink.server.port}</value>
+                                        </property>
+                                        <property>
+                                            <name>wink-test-work-dir</name>
+                                            <value>${project.build.directory}</value>
+                                        </property>
+                                        <property>
+                                            <name>wink-test-container</name>
+                                            <value>${assemblyId}</value>
+                                        </property>
+                                        <property>
+                                            <name>wink-rest-filter-used</name>
+                                            <value>${wink.rest.filter.used}</value>
+                                        </property>
+                                        <property>
+                                            <name>wink.client.readTimeout</name>
+                                            <value>10000</value>
+                                        </property>
+                                        <property>
+                                            <name>wink.client.connectTimeout</name>
+                                            <value>10000</value>
+                                        </property>
+                                    </systemProperties>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>