--- /dev/null
+Import-Package: org.checkerframework.*;resolution:=optional, *
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.yangtools</groupId>
- <artifactId>bundle-parent</artifactId>
+ <artifactId>bnd-parent</artifactId>
<version>8.0.0-SNAPSHOT</version>
- <relativePath>../../bundle-parent</relativePath>
+ <relativePath>../../bnd-parent</relativePath>
</parent>
<artifactId>yang-common</artifactId>
- <packaging>bundle</packaging>
+ <packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>Common YANG definitions</description>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>concepts</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>osgi.annotation</artifactId>
+ </dependency>
</dependencies>
</project>
requires static transitive org.eclipse.jdt.annotation;
requires static com.github.spotbugs.annotations;
requires static org.checkerframework.checker.qual;
+ requires static osgi.annotation;
}
/**
* Common YANG concepts and constants expressed in terms of Java. This notably includes the concepts of
* <ul>
- * <li>a {@link YangVersion}</li>
- * <li>a {@link Revision}</li>
- * <li>a {@link QNameModule}</li>
- * <li>a {@link QName}</li>
- * <li>a Java-native representation of a YANG string, {@link DerivedString}</li>
- * <li>a Java-native representations of numeric YANG types, like {@link Uint64}, {@link Decimal64} and
+ * <li>a {@link YangVersion}</li>
+ * <li>a {@link Revision}</li>
+ * <li>a {@link QNameModule}</li>
+ * <li>a {@link QName}</li>
+ * <li>a Java-native representation of a YANG string, {@link DerivedString}</li>
+ * <li>a Java-native representations of numeric YANG types, like {@link Uint64}, {@link Decimal64} and
* {@link Empty}</li>
* </ul>
*/
+@Export
package org.opendaylight.yangtools.yang.common;
+
+import org.osgi.annotation.bundle.Export;