Convert yang-data-api to bnd-parent 67/112767/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 25 Jul 2024 11:23:49 +0000 (13:23 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 25 Jul 2024 11:24:19 +0000 (13:24 +0200)
This is a straightforward conversion, with @Exports matching
module-info.

Change-Id: I77207d1a445da1da576a222684632cd6220e98f7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-api/pom.xml
data/yang-data-api/src/main/java/module-info.java
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/codec/package-info.java [new file with mode: 0644]
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/package-info.java [new file with mode: 0644]
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/builder/package-info.java [new file with mode: 0644]
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/package-info.java
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/package-info.java [new file with mode: 0644]
data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/tree/package-info.java [new file with mode: 0644]

index 50c6befc7d84eb916d6da22cfda0aae32a113f34..0c8948c00bb974d30dc8a156e4b9d77c01b1a954 100644 (file)
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>bundle-parent</artifactId>
+        <artifactId>bnd-parent</artifactId>
         <version>14.0.1-SNAPSHOT</version>
-        <relativePath>../../bundle-parent</relativePath>
+        <relativePath>../../bnd-parent</relativePath>
     </parent>
 
     <artifactId>yang-data-api</artifactId>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
index 279be9aafbf0f212823cd49be8ecb5057f585116..bd742b3158e0fc7d34e2e1c22ed021db3cd409ba 100644 (file)
@@ -26,4 +26,5 @@ module org.opendaylight.yangtools.yang.data.api {
     requires static transitive org.eclipse.jdt.annotation;
     requires static transitive org.immutables.value.annotations;
     requires static com.github.spotbugs.annotations;
+    requires static org.osgi.annotation.bundle;
 }
diff --git a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/codec/package-info.java b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/codec/package-info.java
new file mode 100644 (file)
index 0000000..4349012
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * 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.data.api.codec;
\ No newline at end of file
diff --git a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/package-info.java b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/package-info.java
new file mode 100644 (file)
index 0000000..de223c5
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * 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.data.api;
\ No newline at end of file
diff --git a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/builder/package-info.java b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/builder/package-info.java
new file mode 100644 (file)
index 0000000..4969ae3
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * 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.data.api.schema.builder;
\ No newline at end of file
index 0844c86a3e2c1611d4664c57c83ea7d89ff0da0e..9d9bd35b398320daf4e6c7c273cf8d1afc247e34 100644 (file)
  * clients for serialization / debugability it SHOULD be done externally in
  * code using these interfaces.
  */
+@org.osgi.annotation.bundle.Export
 package org.opendaylight.yangtools.yang.data.api.schema;
diff --git a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/package-info.java b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/package-info.java
new file mode 100644 (file)
index 0000000..00a92b4
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * 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.data.api.schema.stream;
\ No newline at end of file
diff --git a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/tree/package-info.java b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/tree/package-info.java
new file mode 100644 (file)
index 0000000..f09afe4
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * 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.data.api.schema.tree;
\ No newline at end of file