From 7d6d3a325d2d9f4ad78d2bbe2ea29cb4b94753c1 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Fri, 6 Nov 2020 17:15:21 +0100 Subject: [PATCH] Convert mdsal-common-api to a JPMS module This is a very simple artifact, convert it to a JPMS module. JIRA: MDSAL-620 Change-Id: I20a73390bd4ccee8bfff74fe08a0be038ccea811 Signed-off-by: Robert Varga --- common/mdsal-common-api/pom.xml | 14 -------------- .../src/main/java/module-info.java | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 common/mdsal-common-api/src/main/java/module-info.java diff --git a/common/mdsal-common-api/pom.xml b/common/mdsal-common-api/pom.xml index cc35f32f0a..d8bbcc0412 100644 --- a/common/mdsal-common-api/pom.xml +++ b/common/mdsal-common-api/pom.xml @@ -43,20 +43,6 @@ - - - - org.apache.felix - maven-bundle-plugin - - - org.opendaylight.mdsal.common.api - - - - - - scm:git:http://git.opendaylight.org/gerrit/mdsal.git scm:git:ssh://git.opendaylight.org:29418/mdsal.git diff --git a/common/mdsal-common-api/src/main/java/module-info.java b/common/mdsal-common-api/src/main/java/module-info.java new file mode 100644 index 0000000000..9fe628a099 --- /dev/null +++ b/common/mdsal-common-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.common.api { + exports org.opendaylight.mdsal.common.api; + + requires transitive org.opendaylight.yangtools.yang.common; + requires org.opendaylight.yangtools.util; + + // Annotations + requires static transitive org.eclipse.jdt.annotation; + requires static com.github.spotbugs.annotations; +} -- 2.36.6