Changed yang-binding and yang-common to OSGi bundles
authorTony Tkacik <ttkacik@cisco.com>
Tue, 13 Aug 2013 15:12:29 +0000 (17:12 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 13 Aug 2013 16:41:58 +0000 (18:41 +0200)
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: I1c819ae1b9eee06790146a422144f79689da22c8

yang/yang-binding/pom.xml
yang/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/NotificationListener.java

index 4d389d4c28413f5fc693604a264a9a3e5b088220..28eb9532241f793836b43c9995d80289f9249278 100644 (file)
@@ -1,15 +1,32 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
 \r
-    <parent>\r
-        <groupId>org.opendaylight.yangtools</groupId>\r
-        <artifactId>yang</artifactId>\r
-        <version>0.5.7-SNAPSHOT</version>\r
-    </parent>\r
+       <parent>\r
+               <groupId>org.opendaylight.yangtools</groupId>\r
+               <artifactId>yang</artifactId>\r
+               <version>0.5.7-SNAPSHOT</version>\r
+       </parent>\r
+       <packaging>bundle</packaging>\r
+       <modelVersion>4.0.0</modelVersion>\r
+       <artifactId>yang-binding</artifactId>\r
+       <name>${project.artifactId}</name>\r
+       <description>Java binding for YANG</description>\r
 \r
-    <modelVersion>4.0.0</modelVersion>\r
-    <artifactId>yang-binding</artifactId>\r
-    <name>${project.artifactId}</name>\r
-    <description>Java binding for YANG</description>\r
 \r
+       <build>\r
+               <plugins>\r
+                       <plugin>\r
+                               <groupId>org.apache.felix</groupId>\r
+                               <artifactId>maven-bundle-plugin</artifactId>\r
+                               <version>${maven.bundle.version}</version>\r
+                               <extensions>true</extensions>\r
+                               <configuration>\r
+                                       <instructions>\r
+                                               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>\r
+                                       </instructions>\r
+                                       <manifestLocation>${project.basedir}/META-INF</manifestLocation>\r
+                               </configuration>\r
+                       </plugin>\r
+               </plugins>\r
+       </build>\r
 </project>\r
index 8c87adb578887395ed13c99ec550bbf513840db9..fbf27e4b8f0fb2f3d605b132b5a690b8b0ac2f19 100644 (file)
@@ -10,8 +10,6 @@ package org.opendaylight.yangtools.yang.binding;
 /**\r
  * Marker interface for generated notification listener interfaces\r
  *\r
- *\r
- *\r
  */\r
 public interface NotificationListener {\r
 \r