This is a rather simple API, convert it to a Java module.
JIRA: MDSAL-751
Change-Id: Ic43a4d3a801721c202909c813d68ca52b2da18e8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
<packaging>bundle</packaging>
<dependencies>
+ <dependency>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-annotations</artifactId>
+ <optional>true</optional>
+ </dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>concepts</artifactId>
+ </dependency>
<dependency>
<groupId>org.opendaylight.mdsal</groupId>
<artifactId>mdsal-eos-common-api</artifactId>
<groupId>org.opendaylight.mdsal</groupId>
<artifactId>yang-binding</artifactId>
</dependency>
+
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
+
<scm>
<connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
<developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
--- /dev/null
+/*
+ * Copyright (c) 2023 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.eos.binding.api {
+ exports org.opendaylight.mdsal.eos.binding.api;
+
+ requires transitive com.google.common;
+ requires transitive org.opendaylight.mdsal.eos.common.api;
+ requires transitive org.opendaylight.yangtools.yang.binding;
+
+ requires org.opendaylight.mdsal.model.general.entity;
+}
import static java.util.Objects.requireNonNull;
import com.google.common.annotations.Beta;
-import java.io.Serial;
import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.mdsal.eos.common.api.GenericEntity;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.core.general.entity.rev150930.EntityKey;
*/
@Beta
public class Entity extends GenericEntity<InstanceIdentifier<?>> {
- @Serial
+ @java.io.Serial
private static final long serialVersionUID = 1L;
/** Constructs an instance.