From 35765b35e2aa136ea1a3ba437d02b959247a897f Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sat, 7 Nov 2020 10:35:54 +0100 Subject: [PATCH] Convert mdsal-binding-dom-codec-api to JPMS This is a very simplistic API component, convert it to JPMS. JIRA: MDSAL-632 Change-Id: Ie3d7e264f750d9d0f373e334f18cb6294cced9d0 Signed-off-by: Robert Varga --- binding/mdsal-binding-dom-codec-api/pom.xml | 12 ------------ .../src/main/java/module-info.java | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 binding/mdsal-binding-dom-codec-api/src/main/java/module-info.java diff --git a/binding/mdsal-binding-dom-codec-api/pom.xml b/binding/mdsal-binding-dom-codec-api/pom.xml index 3a43920114..d28355f9b8 100644 --- a/binding/mdsal-binding-dom-codec-api/pom.xml +++ b/binding/mdsal-binding-dom-codec-api/pom.xml @@ -38,16 +38,4 @@ mockito-configuration - - - - - org.apache.felix - maven-bundle-plugin - - org.opendaylight.mdsal.binding.dom.codec.api - - - - 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 index 0000000000..49c432ee6a --- /dev/null +++ b/binding/mdsal-binding-dom-codec-api/src/main/java/module-info.java @@ -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; +} -- 2.36.6