From 6b01ef9479eb761d30821c7dd600c96fed5a87ba Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 19 Oct 2020 13:13:10 +0200 Subject: [PATCH] Convert rfc6241-model-api to JPMS This is a simplistic module, convert it. JIRA: YANGTOOLS-934 Change-Id: I7e78151d978c97d5b6adfb2182018401e6716495 Signed-off-by: Robert Varga --- yang/rfc6241-model-api/pom.xml | 16 ---------------- .../src/main/java/module-info.java | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 yang/rfc6241-model-api/src/main/java/module-info.java diff --git a/yang/rfc6241-model-api/pom.xml b/yang/rfc6241-model-api/pom.xml index 94f49d0810..bf8c1e2526 100644 --- a/yang/rfc6241-model-api/pom.xml +++ b/yang/rfc6241-model-api/pom.xml @@ -17,7 +17,6 @@ rfc6241-model-api - 6.0.1-SNAPSHOT bundle ${project.artifactId} RFC6241 extensions for unbound metadata @@ -36,19 +35,4 @@ yang-model-api - - - - - org.apache.felix - maven-bundle-plugin - - - org.opendaylight.yangtools.rfc6241.model.api - - - - - - diff --git a/yang/rfc6241-model-api/src/main/java/module-info.java b/yang/rfc6241-model-api/src/main/java/module-info.java new file mode 100644 index 0000000000..a75803806b --- /dev/null +++ b/yang/rfc6241-model-api/src/main/java/module-info.java @@ -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 + */ +// 'rfc6241' in the name ends with a digit +@SuppressWarnings("module") +module org.opendaylight.yangtools.rfc6241.model.api { + exports org.opendaylight.yangtools.rfc6241.model.api; + + requires transitive org.opendaylight.yangtools.yang.model.api; +} -- 2.36.6