aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/pom.xml
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-12-28 23:15:19 +0000
committerOlivier Lamy <olamy@apache.org>2011-12-28 23:15:19 +0000
commit9938b56847abe3251a673c00d2f61aa56d484663 (patch)
tree1be2ef2230ee1fd4465cbf2f9009524c7d36da14 /archiva-modules/archiva-web/pom.xml
parentb0448012bd3bb15970be8c3f1131d1e10b29ad70 (diff)
downloadarchiva-9938b56847abe3251a673c00d2f61aa56d484663.tar.gz
archiva-9938b56847abe3251a673c00d2f61aa56d484663.zip
start adding layout for selenium test for webapp-js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1225381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/pom.xml')
-rw-r--r--archiva-modules/archiva-web/pom.xml63
1 files changed, 62 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/pom.xml b/archiva-modules/archiva-web/pom.xml
index 143b956d4..33e2a15e9 100644
--- a/archiva-modules/archiva-web/pom.xml
+++ b/archiva-modules/archiva-web/pom.xml
@@ -26,6 +26,22 @@
<name>Archiva Web</name>
<packaging>pom</packaging>
+ <properties>
+ <container.test.port>9696</container.test.port>
+ <tomcat5x.version>5.5.34</tomcat5x.version>
+ <tomcat6x.version>6.0.35</tomcat6x.version>
+ <cargo.wait>false</cargo.wait>
+ <cargo.timeout>600000</cargo.timeout>
+ <cargo.install.dir>${project.build.directory}/cargo/installs</cargo.install.dir>
+ <maxWaitTimeInMs>10000</maxWaitTimeInMs>
+ <!-- TODO: review how appropriate the memory settings are - should work with less -->
+ <cargo.jvm.args>-Xmx512m -XX:MaxPermSize=256m</cargo.jvm.args>
+ <seleniumPluginVersion>2.2-SNAPSHOT</seleniumPluginVersion>
+ <selenium-server.version>2.15.0</selenium-server.version>
+ <apache.mirror.url>http://archive.apache.org/dist</apache.mirror.url>
+ <apache.archive.url>http://archive.apache.org/dist</apache.archive.url>
+ </properties>
+
<modules>
<module>archiva-applet</module>
<module>archiva-security</module>
@@ -36,6 +52,44 @@
<module>archiva-webapp</module>
</modules>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>6.2.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-command-line</artifactId>
+ <version>1.0-alpha-2</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>plexus-container-default</artifactId>
+ <groupId>org.codehaus.plexus</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>plexus-component-api</artifactId>
+ <groupId>org.codehaus.plexus</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium.client-drivers</groupId>
+ <artifactId>selenium-java-client-driver</artifactId>
+ <version>1.0.2</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<build>
<pluginManagement>
<plugins>
@@ -66,5 +120,12 @@
<module>archiva-webapp-js</module>
</modules>
</profile>
+ <profile>
+ <id>it-js</id>
+ <modules>
+ <module>archiva-webapp-js</module>
+ <module>archiva-webapp-test-js</module>
+ </modules>
+ </profile>
</profiles>
-</project> \ No newline at end of file
+</project>