You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ca...@apache.org on 2008/08/13 21:27:29 UTC

svn commit: r685646 - in /logging/log4j/trunk: pom.xml src/changes/changes.xml

Author: carnold
Date: Wed Aug 13 12:27:27 2008
New Revision: 685646

URL: http://svn.apache.org/viewvc?rev=685646&view=rev
Log:
Bug 43282: Add OSGi packaging info

Modified:
    logging/log4j/trunk/pom.xml
    logging/log4j/trunk/src/changes/changes.xml

Modified: logging/log4j/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/pom.xml?rev=685646&r1=685645&r2=685646&view=diff
==============================================================================
--- logging/log4j/trunk/pom.xml (original)
+++ logging/log4j/trunk/pom.xml Wed Aug 13 12:27:27 2008
@@ -19,7 +19,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>log4j</groupId>
   <artifactId>log4j</artifactId>
-  <packaging>jar</packaging>
+  <packaging>bundle</packaging>
   <name>Apache Log4j</name>
   <version>1.2.16-SNAPSHOT</version>
   <description>Apache Log4j 1.2</description>
@@ -367,6 +367,20 @@
         <artifactId>rat-maven-plugin</artifactId>
         <version>1.0-alpha-3</version>
       </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>1.4.3</version>
+        <extensions>true</extensions>
+        <configuration>
+            <instructions>
+                <!-- omit chainsaw and LF5   -->
+                <Export-Package>!org.apache.log4j.lf5.*,!org.apache.log4j.chainsaw.*,org.apache.log4j.*</Export-Package>
+                <!--  IBM Visual Age and HTMLAdapterServer are sniffed by reflection -->
+                <Import-Package>!com.ibm.uvm.tools,!com.sun.jdmk.comm,*</Import-Package>
+            </instructions>
+        </configuration>
+      </plugin>
     </plugins>
     <testSourceDirectory>tests/src/java</testSourceDirectory>
     <testResources>

Modified: logging/log4j/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/changes/changes.xml?rev=685646&r1=685645&r2=685646&view=diff
==============================================================================
--- logging/log4j/trunk/src/changes/changes.xml (original)
+++ logging/log4j/trunk/src/changes/changes.xml Wed Aug 13 12:27:27 2008
@@ -54,6 +54,7 @@
        <action action="fix" issue="44555">org.apache.log4j.varia.NullAppender lacks static accessor to static instance.</action>
        <action action="fix" issue="43849">Javadoc for Appender.getName implies that the return value will be unique and not null.</action>
        <action action="fix" issue="40888">Weekly rotation problem in Europe.</action>
+       <action action="fix" issue="43282">Add OSGi packaging info.</action>
     </release>
   
     <release version="1.2.15" date="2007-08-24" description="SyslogAppender enhancements, NTEventLogAppender and Maven build.">



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org