</parent>
<artifactId>yang-binding</artifactId>
- <version>7.0.2-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>${project.artifactId}</name>
<description>Java binding for YANG</description>
<build>
<plugins>
<plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
+ <artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <instructions>
- <Automatic-Module-Name>org.opendaylight.yangtools.yang.binding</Automatic-Module-Name>
- </instructions>
+ <argLine>@{argLine}
+ --add-opens org.opendaylight.yangtools.yang.binding/org.opendaylight.yangtools.yang.binding=ALL-UNNAMED
+ </argLine>
</configuration>
</plugin>
</plugins>
--- /dev/null
+/*
+ * 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.yangtools.yang.binding {
+ exports org.opendaylight.yangtools.yang.binding;
+ exports org.opendaylight.yangtools.yang.binding.annotations;
+ exports org.opendaylight.yangtools.yang.binding.util;
+
+ 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;
+}