Added OSGi metadata to yangtools artifacts.
[yangtools.git] / code-generator / binding-generator-spi / pom.xml
index 84bc8f855676a841071c71691c49e6560aec153e..97c578e53a9bcf1224e492ac2bd3d41e9f6bfb9d 100644 (file)
@@ -9,6 +9,7 @@
 \r
     <modelVersion>4.0.0</modelVersion>\r
     <artifactId>binding-generator-spi</artifactId>\r
+    <packaging>bundle</packaging>\r
 \r
     <dependencies>\r
         <dependency>\r
         </dependency>\r
     </dependencies>\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
+                        <Export-Package>\r
+                            org.opendaylight.yangtools.sal.binding.generator.spi\r
+                        </Export-Package>\r
+                    </instructions>\r
+                </configuration>\r
+            </plugin>\r
+        </plugins>\r
+    </build>\r
+\r
 </project>\r