Author: mattsicker
Date: Mon Jun 16 00:20:48 2014
New Revision: 1602782

URL: http://svn.apache.org/r1602782
Log:
Fix OSGi API artifact name.

  - OSGi artifacts are usually named after their bundle identifiers. 
  See for example every artifact by Eclipse.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/pom.xml
    logging/log4j/log4j2/trunk/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=1602782&r1=1602781&r2=1602782&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/pom.xml (original)
+++ logging/log4j/log4j2/trunk/log4j-core/pom.xml Mon Jun 16 00:20:48 2014
@@ -41,7 +41,7 @@
     <!-- Used for OSGi bundle support -->
     <dependency>
       <groupId>org.osgi</groupId>
-      <artifactId>core</artifactId>
+      <artifactId>org.osgi.core</artifactId>
       <scope>provided</scope>
     </dependency>
     <!-- Required for AsyncLoggers -->
@@ -79,7 +79,7 @@
       <artifactId>woodstox-core-asl</artifactId>
       <version>4.3.0</version>
       <optional>true</optional>
-    </dependency>    
+    </dependency>
     <!-- Required for console color support in Windows -->
     <dependency>
       <groupId>org.fusesource.jansi</groupId>

Modified: logging/log4j/log4j2/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/pom.xml?rev=1602782&r1=1602781&r2=1602782&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/pom.xml (original)
+++ logging/log4j/log4j2/trunk/pom.xml Mon Jun 16 00:20:48 2014
@@ -180,6 +180,7 @@
     <docLabel>Site Documentation</docLabel>
     <projectDir />
     <commons.logging.version>1.1.3</commons.logging.version>
+    <osgi.api.version>4.3.1</osgi.api.version>
   </properties>
   <pluginRepositories>
     <pluginRepository>
@@ -298,8 +299,8 @@
       </dependency>
       <dependency>
         <groupId>org.osgi</groupId>
-        <artifactId>core</artifactId>
-        <version>4.3.0</version>
+        <artifactId>org.osgi.core</artifactId>
+        <version>${osgi.api.version}</version>
         <scope>provided</scope>
       </dependency>
       <dependency>


Reply via email to