You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2010/09/09 19:59:52 UTC

svn commit: r995520 - /sling/trunk/bundles/commons/log/pom.xml

Author: fmeschbe
Date: Thu Sep  9 17:59:51 2010
New Revision: 995520

URL: http://svn.apache.org/viewvc?rev=995520&view=rev
Log:
SLING-1739 Upgrade to SLF4J API 1.5.11 and export slf4j.spi and slf4j.helper subpackages (Thanks Jason Rose for providing the patch)

Modified:
    sling/trunk/bundles/commons/log/pom.xml

Modified: sling/trunk/bundles/commons/log/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/log/pom.xml?rev=995520&r1=995519&r2=995520&view=diff
==============================================================================
--- sling/trunk/bundles/commons/log/pom.xml (original)
+++ sling/trunk/bundles/commons/log/pom.xml Thu Sep  9 17:59:51 2010
@@ -44,6 +44,10 @@
         <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/log</developerConnection>
         <url>http://svn.apache.org/viewvc/sling/trunk/bundles/commons/log</url>
     </scm>
+    
+    <properties>
+      <slf4j.version>1.5.11</slf4j.version>
+    </properties>
 
     <build>
         <plugins>
@@ -62,14 +66,15 @@
                         <Export-Package>
                             org.apache.commons.logging;version=1.1.1,
                             org.apache.log4j;version=1.2.15,
-                            org.slf4j;version=1.5.2,
+                            org.slf4j;
+                                org.slf4j.helpers;
+                                org.slf4j.spi;version=${slf4j.version},
                             org.osgi.service.cm, org.osgi.service.log
                         </Export-Package>
                         <Private-Package>
                             org.apache.commons.logging.impl,
                             org.apache.sling.commons.log.*,
-                            org.slf4j.helpers, org.slf4j.impl,
-                            org.slf4j.spi
+                            org.slf4j.impl
                         </Private-Package>
                         <Import-Package>
                             javax.servlet.*;resolution:=optional,
@@ -101,21 +106,21 @@
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>jcl-over-slf4j</artifactId>
-            <version>1.5.2</version>
+            <version>${slf4j.version}</version>
             <scope>compile</scope>
             <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>log4j-over-slf4j</artifactId>
-            <version>1.5.2</version>
+            <version>${slf4j.version}</version>
             <scope>compile</scope>
             <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
-            <version>1.5.2</version>
+            <version>${slf4j.version}</version>
             <scope>compile</scope>
             <optional>true</optional>
         </dependency>