continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r744153 - /continuum/trunk/continuum-webapp-test/pom2.xml
Date Fri, 13 Feb 2009 16:03:11 GMT
Author: wsmoak
Date: Fri Feb 13 16:03:10 2009
New Revision: 744153

URL: http://svn.apache.org/viewvc?rev=744153&view=rev
Log:
[CONTINUUM-2073] Add pom2.xml which goes with code in src/test/pom2. Use: mvn clean install
-f pom2.xml

Added:
    continuum/trunk/continuum-webapp-test/pom2.xml
      - copied, changed from r743581, continuum/trunk/continuum-webapp-test/pom.xml

Copied: continuum/trunk/continuum-webapp-test/pom2.xml (from r743581, continuum/trunk/continuum-webapp-test/pom.xml)
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/pom2.xml?p2=continuum/trunk/continuum-webapp-test/pom2.xml&p1=continuum/trunk/continuum-webapp-test/pom.xml&r1=743581&r2=744153&rev=744153&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/pom.xml (original)
+++ continuum/trunk/continuum-webapp-test/pom2.xml Fri Feb 13 16:03:10 2009
@@ -28,8 +28,10 @@
   <name>Continuum Webapp Test</name>
   <packaging>pom</packaging>
 
+  <description>Selenium tests for Continuum Webapp using JUnit TestSetup class</description>
+
   <build>
-    <!--testSourceDirectory>src/test/it</testSourceDirectory-->
+    <testSourceDirectory>src/test/pom2</testSourceDirectory>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -84,6 +86,31 @@
             </goals>
           </execution>
         </executions>
+        <configuration>
+          <systemProperties>
+            <property>
+              <name>url</name>
+              <value>http://localhost:8080/continuum-webapp-${project.version}</value>
+            </property>
+            <property>
+              <name>cargo.container.home</name>
+              <value>${cargo.container.home}</value>
+            </property>
+            <property>
+              <name>cargo.container.output</name>
+              <value>${basedir}/target/container.output</value>
+            </property>
+            <property>
+              <name>cargo.container.log</name>
+              <value>${basedir}/target/container.log</value>
+            </property>
+            <property>
+              <name>cargo.deployable</name>
+              <value>${basedir}/../continuum-webapp/target/continuum-webapp-1.3.2-SNAPSHOT.war</value>
+              <!--value>${settings.localRepository}/org/apache/continuum/continuum-webapp/1.3.2-SNAPSHOT/continuum-webapp-1.3.2-SNAPSHOT.war</value-->
+            </property>
+          </systemProperties>
+        </configuration>
       </plugin>
     </plugins>
   </build>
@@ -105,12 +132,11 @@
       <version>0.8.1</version>
       <scope>test</scope>
     </dependency>
-    
-    <!-- dependencies below are for code in src/test/it -->
     <dependency>
-      <groupId>org.codehaus.plexus</groupId>
-      <artifactId>plexus-utils</artifactId>
-      <version>1.4</version>
+      <groupId>org.apache.continuum</groupId>
+      <artifactId>continuum-webapp</artifactId>
+      <version>${project.version}</version>
+      <type>war</type>
     </dependency>
     <dependency>
       <groupId>org.openqa.selenium.server</groupId>
@@ -118,5 +144,17 @@
       <version>0.8.1</version>
     </dependency>
 
+    <dependency>
+        <groupId>org.codehaus.cargo</groupId>
+        <artifactId>cargo-core-uberjar</artifactId>
+        <version>0.8</version>
+        <optional>true</optional>
+    </dependency>
+    <dependency>
+        <groupId>org.codehaus.cargo</groupId>
+        <artifactId>cargo-ant</artifactId>
+        <version>0.8</version>
+        <optional>true</optional>
+    </dependency>
   </dependencies>
 </project>



Mime
View raw message