There are just a few exported packages, switch to bnd-parent.
Change-Id: Iaabeff023f27d25739f08f31560f339df2ee6dde
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.mdsal</groupId>
- <artifactId>bundle-parent</artifactId>
+ <artifactId>bnd-parent</artifactId>
<version>13.0.0-SNAPSHOT</version>
- <relativePath>../../bundle-parent</relativePath>
+ <relativePath>../../bnd-parent</relativePath>
</parent>
<artifactId>yang-binding</artifactId>
- <packaging>bundle</packaging>
+ <packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>Java binding for YANG</description>
requires static transitive org.eclipse.jdt.annotation;
requires static com.github.spotbugs.annotations;
requires static org.checkerframework.checker.qual;
+ requires static org.osgi.annotation.bundle;
}
*
* <p>
* And you wanted to obtain the Instance identifier which represented Nodes you would do it like so,
- *
- * <p>
* <pre>
* identifier.firstIdentifierOf(Nodes.class)
* </pre>
--- /dev/null
+/*
+ * Copyright (c) 2024 PANTHEON.tech, s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+@org.osgi.annotation.bundle.Export
+package org.opendaylight.yangtools.yang.binding.annotations;
\ No newline at end of file
--- /dev/null
+/*
+ * Copyright (c) 2024 PANTHEON.tech, s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+@org.osgi.annotation.bundle.Export
+package org.opendaylight.yangtools.yang.binding.contract;
\ No newline at end of file
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+@org.osgi.annotation.bundle.Export
package org.opendaylight.yangtools.yang.binding;
\ No newline at end of file
--- /dev/null
+/*
+ * Copyright (c) 2024 PANTHEON.tech, s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+@org.osgi.annotation.bundle.Export
+package org.opendaylight.yangtools.yang.binding.util;
\ No newline at end of file