You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/07/20 03:39:42 UTC

svn commit: r1611988 - in /logging/log4j/log4j2/trunk: log4j-core/pom.xml log4j-to-slf4j/pom.xml

Author: mattsicker
Date: Sun Jul 20 01:39:42 2014
New Revision: 1611988

URL: http://svn.apache.org/r1611988
Log:
Add Provide-Capability metadata for OSGi.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/pom.xml
    logging/log4j/log4j2/trunk/log4j-to-slf4j/pom.xml

Modified: logging/log4j/log4j2/trunk/log4j-core/pom.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/pom.xml?rev=1611988&r1=1611987&r2=1611988&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/pom.xml (original)
+++ logging/log4j/log4j2/trunk/log4j-core/pom.xml Sun Jul 20 01:39:42 2014
@@ -285,6 +285,7 @@
             <!-- TODO: exclude internal classes from export -->
             <Export-Package>org.apache.logging.log4j.core.*</Export-Package>
             <Bundle-Activator>org.apache.logging.log4j.core.config.plugins.osgi.Activator</Bundle-Activator>
+            <Provide-Capability>org.apache.logging.log4j.spi.LoggerContextFactory</Provide-Capability>
           </instructions>
         </configuration>
       </plugin>

Modified: logging/log4j/log4j2/trunk/log4j-to-slf4j/pom.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-to-slf4j/pom.xml?rev=1611988&r1=1611987&r2=1611988&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-to-slf4j/pom.xml (original)
+++ logging/log4j/log4j2/trunk/log4j-to-slf4j/pom.xml Sun Jul 20 01:39:42 2014
@@ -86,6 +86,7 @@
         <configuration>
           <instructions>
             <Export-Package>org.apache.logging.slf4j</Export-Package>
+            <Provide-Capability>org.apache.logging.log4j.spi.LoggerContextFactory</Provide-Capability>
           </instructions>
         </configuration>
       </plugin>