]> source.dussan.org Git - archiva.git/commitdiff
Adding different guava dependency for webtests
authorMartin Stockhammer <martin_s@apache.org>
Sun, 20 Aug 2017 18:52:59 +0000 (20:52 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Sun, 20 Aug 2017 18:52:59 +0000 (20:52 +0200)
Workaround to get the selenium tests running. Better would
be a solution that allows the new guava version for the complete
project.

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

index 30fd890b04ed7a799aaf28a59c31e17cd71fe26e..6c51eff1d6e21bcf98e7e45769cc03b6722a1f07 100644 (file)
       </exclusions>
     </dependency>
 
+    <!--
+      jcr-oak currently needs guava 15.0 and selenium webdriver needs 22.0
+      This is a rather poor workaround here better would be a way to use
+      the higher version for all scopes.
+      TODO: Check what's necessary to get jcr oak running with 22.0
+     -->
+    <dependency>
+      <groupId>com.google.guava</groupId>
+      <artifactId>guava</artifactId>
+      <version>22.0</version>
+      <scope>test</scope>
+    </dependency>
+
     <!-- Selenium dependencies -->
     <dependency>
       <groupId>org.seleniumhq.selenium</groupId>