]> source.dussan.org Git - archiva.git/commitdiff
make selenium mojo version configure and add a chrome profile
authorOlivier Lamy <olamy@apache.org>
Thu, 16 Jun 2011 15:54:24 +0000 (15:54 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 16 Jun 2011 15:54:24 +0000 (15:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136498 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test/pom.xml

index c1739afcfc27bff5a1912f1cb60015be380788c0..ab7f042ce3324267a4d5bf7cd53ea83edfe8bc6e 100644 (file)
@@ -37,6 +37,7 @@
     <maxWaitTimeInMs>60000</maxWaitTimeInMs>
     <!-- TODO: review how appropriate the memory settings are - should work with less -->
     <cargo.jvm.args>-Xmx512m -XX:MaxPermSize=256m</cargo.jvm.args>
+    <seleniumPluginVersion>1.1</seleniumPluginVersion>
   </properties>
 
   <dependencies>
@@ -90,7 +91,7 @@
     <dependency>
       <groupId>org.seleniumhq.selenium.client-drivers</groupId>
       <artifactId>selenium-java-client-driver</artifactId>
-      <version>1.0.1</version>
+      <version>1.0.2</version>
       <scope>test</scope>
       <exclusions>
         <exclusion>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>selenium-maven-plugin</artifactId>
-          <version>1.1</version>
+          <version>${seleniumPluginVersion}</version>
         </plugin>
       </plugins>
     </pluginManagement>
         <excluded.groups/>
       </properties>
     </profile>
+    <profile>
+      <id>chrome</id>
+      <activation>
+        <property>
+          <name>browser</name>
+          <value>chrome</value>
+        </property>
+      </activation>
+      <properties>
+        <selenium.browser>*googlechrome</selenium.browser>
+        <excluded.groups/>
+      </properties>
+    </profile>
     <profile>
       <id>iexplore</id>
       <activation>
     </profile>
   </profiles>
 
+
 </project>