Make cds-mgmt-api a JPMS module
[controller.git] / opendaylight / md-sal / cds-mgmt-api / src / main / java / module-info.java
diff --git a/opendaylight/md-sal/cds-mgmt-api/src/main/java/module-info.java b/opendaylight/md-sal/cds-mgmt-api/src/main/java/module-info.java
new file mode 100644 (file)
index 0000000..758f7d1
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * 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.controller.cluster.mgmt.api {
+    exports org.opendaylight.controller.cluster.mgmt.api;
+    // FIXME: 4.0.0: collapse these packages
+    exports org.opendaylight.controller.cluster.datastore.jmx.mbeans;
+    exports org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard;
+
+    // Annotation-only dependencies
+    requires static java.management;
+    requires static org.eclipse.jdt.annotation;
+}