You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2018/05/20 23:07:46 UTC

[archiva] branch master updated: Modifying dependencies to fix webui test failures

This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ae9703  Modifying dependencies to fix webui test failures
6ae9703 is described below

commit 6ae9703f1d162676d437f25c2f307aeb2af09937
Author: Martin Stockhammer <ma...@apache.org>
AuthorDate: Mon May 21 01:05:19 2018 +0200

    Modifying dependencies to fix webui test failures
    
    There is a guava compatibility problem with the selenium test
    Removing the dependencies that came with the new cassandra version
---
 archiva-modules/archiva-web/archiva-webapp-test/pom.xml  | 14 +++++++++++++-
 archiva-modules/archiva-web/archiva-webapp/pom.xml       |  2 ++
 archiva-modules/plugins/metadata-store-cassandra/pom.xml | 12 ++++++++++++
 3 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
index 6c51eff..c826475 100644
--- a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
+++ b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
@@ -75,7 +75,6 @@
       <groupId>com.google.guava</groupId>
       <artifactId>guava</artifactId>
       <version>22.0</version>
-      <scope>test</scope>
     </dependency>
 
     <!-- Selenium dependencies -->
@@ -576,6 +575,11 @@
                 <artifactId>mail</artifactId>
                 <version>${javaxMailVersion}</version>
               </dependency>
+              <dependency>
+                <groupId>com.google.guava</groupId>
+                <artifactId>guava</artifactId>
+                <version>22.0</version>
+              </dependency>
 
             </dependencies>
             <executions>
@@ -617,6 +621,14 @@
                       <name>org.apache.jackrabbit.core.state.validatehierarchy</name>
                       <value>true</value>
                     </systemProperty>
+                    <systemProperty>
+                      <name>org.apache.logging.log4j.simplelog.StatusLogger.level</name>
+                      <value>TRACE</value>
+                    </systemProperty>
+                    <systemProperty>
+                      <name>log4j.configurationFile</name>
+                      <value>${project.build.directory}/test-classes/log4j2-test.xml</value>
+                    </systemProperty>
                   </systemProperties>
                 </configuration>
               </execution>
diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml
index 92ae8f2..7152a5c 100644
--- a/archiva-modules/archiva-web/archiva-webapp/pom.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml
@@ -673,6 +673,7 @@
       <groupId>org.apache.archiva.redback</groupId>
       <artifactId>redback-integrations-security</artifactId>
     </dependency>
+    <!--
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>jcl-over-slf4j</artifactId>
@@ -682,6 +683,7 @@
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-ext</artifactId>
     </dependency>
+    -->
     <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging</artifactId>
diff --git a/archiva-modules/plugins/metadata-store-cassandra/pom.xml b/archiva-modules/plugins/metadata-store-cassandra/pom.xml
index 83c6d52..c0c1e20 100644
--- a/archiva-modules/plugins/metadata-store-cassandra/pom.xml
+++ b/archiva-modules/plugins/metadata-store-cassandra/pom.xml
@@ -89,6 +89,14 @@
           <groupId>javax.servlet</groupId>
           <artifactId>servlet-api</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>log4j-over-slf4j</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>ch.qos.logback</groupId>
+          <artifactId>logback-classic</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
 
@@ -109,6 +117,10 @@
           <groupId>com.yammer.metrics</groupId>
           <artifactId>metrics-core</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>log4j-over-slf4j</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
 

-- 
To stop receiving notification emails like this one, please contact
martin_s@apache.org.