From: Robert Varga Date: Fri, 6 Nov 2020 20:36:42 +0000 (+0100) Subject: Convert mdsal-binding-runtime-api to a JPMS module X-Git-Tag: v7.0.2~25 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=d2b9b3490903aee959242138c3a9080d71cef8b7;p=mdsal.git Convert mdsal-binding-runtime-api to a JPMS module This is a very simple artifact, convert it to a JPMS module. JIRA: MDSAL-625 Change-Id: I6a24724580c26509fb58fb3d5962cb8613ddec3a Signed-off-by: Robert Varga --- diff --git a/binding/mdsal-binding-runtime-api/pom.xml b/binding/mdsal-binding-runtime-api/pom.xml index 4af13949d0..9a0bba426d 100644 --- a/binding/mdsal-binding-runtime-api/pom.xml +++ b/binding/mdsal-binding-runtime-api/pom.xml @@ -42,16 +42,4 @@ mockito-configuration - - - - - org.apache.felix - maven-bundle-plugin - - org.opendaylight.mdsal.binding.runtime.api - - - - diff --git a/binding/mdsal-binding-runtime-api/src/main/java/module-info.java b/binding/mdsal-binding-runtime-api/src/main/java/module-info.java new file mode 100644 index 0000000000..543c84f1f0 --- /dev/null +++ b/binding/mdsal-binding-runtime-api/src/main/java/module-info.java @@ -0,0 +1,21 @@ +/* + * 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.runtime.api { + exports org.opendaylight.mdsal.binding.runtime.api; + + requires transitive org.opendaylight.yangtools.yang.data.api; + requires transitive org.opendaylight.yangtools.yang.model.api; + requires transitive org.opendaylight.yangtools.yang.binding; + requires transitive org.opendaylight.mdsal.binding.generator.api; + requires org.opendaylight.yangtools.yang.model.util; + requires org.slf4j; + + // Annotations + requires static transitive org.eclipse.jdt.annotation; + requires static com.github.spotbugs.annotations; +}