This is a very simple component, convert it to use bnd-parent instead of
bundle-parent.
Change-Id: I53dcc7839ee84e6ce3a06ecdab6029f988e22a59
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.yangtools</groupId>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.yangtools</groupId>
- <artifactId>bundle-parent</artifactId>
+ <artifactId>bnd-parent</artifactId>
<version>11.0.0-SNAPSHOT</version>
<version>11.0.0-SNAPSHOT</version>
- <relativePath>../../bundle-parent</relativePath>
+ <relativePath>../../bnd-parent</relativePath>
</parent>
<artifactId>plugin-generator-api</artifactId>
</parent>
<artifactId>plugin-generator-api</artifactId>
- <packaging>bundle</packaging>
+ <packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>YANG Generator Plugin API</description>
<name>${project.artifactId}</name>
<description>YANG Generator Plugin API</description>
// Annotations
requires static transitive org.eclipse.jdt.annotation;
// Annotations
requires static transitive org.eclipse.jdt.annotation;
+ requires static org.osgi.annotation.bundle;
* to be implemented for bootstrapping a particular generator. Such implementations are discovered using normal
* discovery methods, for example they <b>should</b> always be published as {@link java.util.ServiceLoader} services.
*/
* to be implemented for bootstrapping a particular generator. Such implementations are discovered using normal
* discovery methods, for example they <b>should</b> always be published as {@link java.util.ServiceLoader} services.
*/
-package org.opendaylight.yangtools.plugin.generator.api;
\ No newline at end of file
+@Export
+package org.opendaylight.yangtools.plugin.generator.api;
+
+import org.osgi.annotation.bundle.Export;