Convert yang-data-util to JPMS 82/93182/6
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 19 Oct 2020 14:24:11 +0000 (16:24 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Oct 2020 10:39:08 +0000 (12:39 +0200)
This is a simplistic module, convert it.

JIRA: YANGTOOLS-934
Change-Id: Ie81fa0e53ea91f35303d1b1c36b0db97893345ef
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-util/pom.xml
yang/yang-data-util/src/main/java/module-info.java [new file with mode: 0644]

index b93cb0bba33a2dfd64dc2b873fce42e8709fa2a4..b41e62bde3ba065aeaadfaabc2c9e412f9a1f2d4 100644 (file)
             <artifactId>yang-test-util</artifactId>
         </dependency>
     </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Automatic-Module-Name>org.opendaylight.yangtools.yang.data.util</Automatic-Module-Name>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
diff --git a/yang/yang-data-util/src/main/java/module-info.java b/yang/yang-data-util/src/main/java/module-info.java
new file mode 100644 (file)
index 0000000..282eaee
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2020 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
+ */
+module org.opendaylight.yangtools.yang.data.util {
+    exports org.opendaylight.yangtools.yang.data.util;
+    exports org.opendaylight.yangtools.yang.data.util.codec;
+
+    requires transitive org.opendaylight.yangtools.odlext.model.api;
+    requires transitive org.opendaylight.yangtools.rfc7952.data.api;
+    requires transitive org.opendaylight.yangtools.rfc8528.data.api;
+
+    requires org.opendaylight.yangtools.yang.model.util;
+    requires org.opendaylight.yangtools.util;
+}