Added OSGi metadata to yangtools artifacts.
[yangtools.git] / yang / yang-maven-plugin-spi / pom.xml
index 977dadc06c85b98e0ab93c63c0de4be2adabb57b..c2348292559a2c16fd19f06209e3b26b6c5627fa 100644 (file)
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>${maven.bundle.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
+                        <Export-Package>
+                            org.opendaylight.yangtools.yang2sources.spi
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
         </plugins>
     </build>