Convert mdsal-binding-dom-codec-api to JPMS 68/93668/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 7 Nov 2020 09:35:54 +0000 (10:35 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 7 Nov 2020 09:36:35 +0000 (10:36 +0100)
This is a very simplistic API component, convert it to JPMS.

JIRA: MDSAL-632
Change-Id: Ie3d7e264f750d9d0f373e334f18cb6294cced9d0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec-api/pom.xml
binding/mdsal-binding-dom-codec-api/src/main/java/module-info.java [new file with mode: 0644]

index 3a43920114763f27613b779ed19a94023409b528..d28355f9b8c8c9bbd6a5761308cd56b118231952 100644 (file)
             <artifactId>mockito-configuration</artifactId>
         </dependency>
     </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <Automatic-Module-Name>org.opendaylight.mdsal.binding.dom.codec.api</Automatic-Module-Name>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 </project>
diff --git a/binding/mdsal-binding-dom-codec-api/src/main/java/module-info.java b/binding/mdsal-binding-dom-codec-api/src/main/java/module-info.java
new file mode 100644 (file)
index 0000000..49c432e
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * 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.mdsal.binding.dom.codec.api {
+    exports org.opendaylight.mdsal.binding.dom.codec.api;
+
+    requires transitive org.opendaylight.mdsal.binding.runtime.api;
+    requires org.opendaylight.mdsal.binding.spec.util;
+
+    // Annotations
+    requires static transitive org.eclipse.jdt.annotation;
+    requires static com.github.spotbugs.annotations;
+}