remove org.osgi.core dependency from binding-parent 08/73308/4
authorMichael Vorburger <vorburger@redhat.com>
Thu, 21 Jun 2018 12:28:26 +0000 (14:28 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 27 Jun 2018 10:13:22 +0000 (10:13 +0000)
We should typically avoid for our ODL code to directly us OSGi APIs; we
normally don't need that - therefore it should not be a default
dependency in a parent.

Change-Id: Ie215a3619755b53f85fdad39c5cdb76588f53b8b
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
commons/binding-parent/pom.xml

index a2c37a69390fd1b89607668ebe0f7f95f63450ed..5988da1e59c59fadcc51893a68527efe77422fab 100644 (file)
@@ -7,6 +7,8 @@ terms of the Eclipse Public License v1.0 which accompanies this distribution,
 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
   <parent>
     <groupId>org.opendaylight.mdsal</groupId>
     <artifactId>binding-parent</artifactId>
@@ -14,7 +16,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
     <relativePath/>
   </parent>
 
-  <modelVersion>4.0.0</modelVersion>
   <groupId>org.opendaylight.serviceutils</groupId>
   <artifactId>binding-parent</artifactId>
   <version>0.2.0-SNAPSHOT</version>
@@ -36,11 +37,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   </dependencyManagement>
 
   <dependencies>
-    <dependency>
-      <groupId>org.osgi</groupId>
-      <artifactId>org.osgi.core</artifactId>
-    </dependency>
-
     <!-- Testing Dependencies -->
     <dependency>
       <groupId>junit</groupId>