Convert yang-repo-api to bnd-parent 77/115777/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 7 Mar 2025 16:07:34 +0000 (17:07 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 7 Mar 2025 16:07:34 +0000 (17:07 +0100)
This is a trivial conversion.

Change-Id: Iab03936982dac8b95ce81a776e24e8a3b0042850
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-repo-api/pom.xml
yang/yang-repo-api/src/main/java/module-info.java
yang/yang-repo-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/package-info.java [new file with mode: 0644]

index e7780c5a63a0f3dc08bc63d3e79cfcb16db2c5e0..2068f4647db3e432d24ddb4a5d2767011ba1eaf8 100644 (file)
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>bundle-parent</artifactId>
+        <artifactId>bnd-parent</artifactId>
         <version>14.0.11-SNAPSHOT</version>
-        <relativePath>../../bundle-parent</relativePath>
+        <relativePath>../../bnd-parent</relativePath>
     </parent>
 
     <artifactId>yang-repo-api</artifactId>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
     <name>${project.artifactId}</name>
     <description>YANG Schema Repository API</description>
 
index 8617de349c61cf742fe616f5f4fbd3173bc27f0a..c23d199ba65e0e9ab2d1799fa5898b2073b339cf 100644 (file)
@@ -19,4 +19,5 @@ module org.opendaylight.yangtools.yang.repo.api {
 
     // Annotations
     requires static transitive org.eclipse.jdt.annotation;
+    requires static org.osgi.annotation.bundle;
 }
diff --git a/yang/yang-repo-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/package-info.java b/yang/yang-repo-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/package-info.java
new file mode 100644 (file)
index 0000000..8751261
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * Copyright (c) 2025 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.model.repo.api;
\ No newline at end of file