Refactored OSGi metadata declaration.
[mdsal.git] / model / l2-types / pom.xml
index 9eaf12fda0a6c230a2fcc383057cb8c1d2e3329b..d0e65fbe7eeae5df607cf2aba6f69490cc87dd87 100644 (file)
@@ -4,11 +4,29 @@
     <parent>
         <artifactId>model-parent</artifactId>
         <groupId>org.opendaylight.yangtools.model</groupId>
-        <version>0.5.7-SNAPSHOT</version>
+        <version>0.5.8-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
     <artifactId>opendaylight-l2-types</artifactId>
     <version>2013.08.27-SNAPSHOT</version>
-    <packaging>bundle</packaging>
-</project>
\ No newline at end of file
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>