From d4b7b4f0c4e2e9f014d4c1d45d358b6c026e08c1 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sun, 18 Oct 2020 17:59:55 +0200 Subject: [PATCH] Convert rfc7952-model-api to JPMS This is a simplistic module, convert it. JIRA: YANGTOOLS-934 Change-Id: Iec8520cf1e7ce2044d2a5df622ea473a8fcdc038 Signed-off-by: Robert Varga --- yang/rfc7952-model-api/pom.xml | 15 --------------- .../src/main/java/module-info.java | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 yang/rfc7952-model-api/src/main/java/module-info.java diff --git a/yang/rfc7952-model-api/pom.xml b/yang/rfc7952-model-api/pom.xml index 58f4332319..36e0c11421 100644 --- a/yang/rfc7952-model-api/pom.xml +++ b/yang/rfc7952-model-api/pom.xml @@ -35,19 +35,4 @@ yang-model-api - - - - - org.apache.felix - maven-bundle-plugin - - - org.opendaylight.yangtools.rfc7952.model.api - - - - - - diff --git a/yang/rfc7952-model-api/src/main/java/module-info.java b/yang/rfc7952-model-api/src/main/java/module-info.java new file mode 100644 index 0000000000..8756868894 --- /dev/null +++ b/yang/rfc7952-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 + */ +// 'rfc7952' in the name ends with a digit +@SuppressWarnings("module") +module org.opendaylight.yangtools.rfc7952.model.api { + exports org.opendaylight.yangtools.rfc7952.model.api; + + requires transitive org.opendaylight.yangtools.yang.model.api; +} -- 2.36.6