Convert rfc7952-data-util to JPMS 75/93175/10
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 19 Oct 2020 11:28:49 +0000 (13:28 +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: I20b645ac1fbe04bfbb36e54e850f08513b6cfa34
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/rfc7952-data-util/pom.xml
yang/rfc7952-data-util/src/main/java/module-info.java [new file with mode: 0644]

index acd7e339e484aef6e6c36ad27777ff231e95a18e..514e98abb9fb96fa22c2ee2bdaa0ee35c7fccc1c 100644 (file)
             <artifactId>rfc7952-model-api</artifactId>
         </dependency>
     </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Automatic-Module-Name>org.opendaylight.yangtools.rfc7952.data.util</Automatic-Module-Name>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>
diff --git a/yang/rfc7952-data-util/src/main/java/module-info.java b/yang/rfc7952-data-util/src/main/java/module-info.java
new file mode 100644 (file)
index 0000000..08bec68
--- /dev/null
@@ -0,0 +1,14 @@
+/*
+ * 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
+ */
+// 'rfc7952' in the name ends with a digit
+@SuppressWarnings("module")
+module org.opendaylight.yangtools.rfc7952.data.util {
+    exports org.opendaylight.yangtools.rfc7952.data.util;
+
+    requires transitive org.opendaylight.yangtools.yang.data.util;
+}