<parent>
<groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-parent</artifactId>
+ <artifactId>bnd-parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
- <relativePath>../../parent</relativePath>
+ <relativePath>../../bnd-parent</relativePath>
</parent>
<artifactId>sal-remote-impl</artifactId>
<name>${project.artifactId}</name>
- <packaging>bundle</packaging>
+ <packaging>jar</packaging>
<description>Implementation of sal-remote</description>
- <properties>
- <odlparent.dependency.enforce>true</odlparent.dependency.enforce>
- </properties>
-
<dependencies>
<dependency>
<groupId>com.google.code.gson</groupId>
<groupId>org.opendaylight.mdsal</groupId>
<artifactId>mdsal-dom-api</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>netconf-common</artifactId>
+ </dependency>
<dependency>
<groupId>org.opendaylight.netconf</groupId>
<artifactId>restconf-api</artifactId>
<artifactId>rfc8040-ietf-restconf-monitoring</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-common</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.opendaylight.netconf</groupId>
<artifactId>restconf-server-api-testlib</artifactId>
<artifactId>yang-test-util</artifactId>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <configuration>
+ <ignoredNonTestScopedDependencies>
+ <ignoredNonTestScopedDependency>org.opendaylight.netconf:netconf-common</ignoredNonTestScopedDependency>
+ </ignoredNonTestScopedDependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
--- /dev/null
+/*
+ * Copyright (c) 2024 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.netconf.sal.remote.impl {
+ exports org.opendaylight.netconf.sal.remote.impl;
+
+ requires transitive org.opendaylight.restconf.mdsal.spi;
+ requires transitive org.opendaylight.restconf.server.api;
+ requires transitive org.opendaylight.restconf.server.spi;
+ requires transitive org.opendaylight.netconf.dom.api;
+ requires org.opendaylight.netconf.sal.remote;
+ requires org.opendaylight.yangtools.binding.spec;
+ requires org.opendaylight.yangtools.yang.data.spi;
+ requires org.slf4j;
+
+ // Annotation-only dependencies
+ requires static transitive javax.inject;
+ requires static transitive org.eclipse.jdt.annotation;
+ requires static org.osgi.service.component.annotations;
+}