jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1466375 - /jackrabbit/oak/trunk/oak-parent/pom.xml
Date Wed, 10 Apr 2013 08:20:05 GMT
Author: jukka
Date: Wed Apr 10 08:20:05 2013
New Revision: 1466375

URL: http://svn.apache.org/r1466375
Log:
OAK-676: Unify and upgrade SLF4j and Logback versions

Use more recent versions of SLF4J and Logback when we're in control of
the runtime environment, but keep the SLF4J API dependency down to 1.6.

Modified:
    jackrabbit/oak/trunk/oak-parent/pom.xml

Modified: jackrabbit/oak/trunk/oak-parent/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-parent/pom.xml?rev=1466375&r1=1466374&r2=1466375&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-parent/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-parent/pom.xml Wed Apr 10 08:20:05 2013
@@ -47,11 +47,15 @@
     <mongo.db2>MongoMKDB2</mongo.db2>
     <segment.db>SegmentMK</segment.db>
     <solr.version>4.0.0</solr.version>
-    <!-- SLF4J and Logback versions should be kept in sync.   -->
-    <!-- Using 1.6.6/1.0.7 instead of later versions to avoid -->
-    <!-- forcing OSGi deployments to upgrade to SLF4J 1.7.x.  -->
-    <slf4j.version>1.6.6</slf4j.version>
-    <logback.version>1.0.7</logback.version>
+    <!-- Note that we're using SLF4J API version 1.6 when compiling     -->
+    <!-- core Oak components but more recent SLF4J and Logback versions -->
+    <!-- when compiling and running test cases and the oak-run jar.     -->
+    <!-- This way it's possible to use Oak also in environments that    -->
+    <!-- only provide SLF4J version 1.6, while still using a more       -->
+    <!-- recent version when we are in control the runtime environment. -->
+    <slf4j.api.version>1.6.6</slf4j.api.version>
+    <slf4j.version>1.7.4</slf4j.version> <!-- sync with logback version -->
+    <logback.version>1.0.11</logback.version>
   </properties>
 
   <issueManagement>
@@ -265,7 +269,7 @@
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-api</artifactId>
-        <version>${slf4j.version}</version>
+        <version>${slf4j.api.version}</version>
       </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>



Mime
View raw message