From c99bf1ddabaf1c445536d7e43c2d34644bb6ac48 Mon Sep 17 00:00:00 2001 From: Julien Ponge Date: Wed, 25 Oct 2023 17:58:38 +0200 Subject: [PATCH] feat!: downgrade Java modules support to automatic modules Issue: #1406 BREAKING CHANGE: the Mutiny library is now exposed as an automatic module rather than a module with a module-info descriptor. --- implementation/pom.xml | 11 ++++++++ implementation/src/main/java/module-info.java | 25 ------------------- math/pom.xml | 11 ++++++++ math/src/main/java/module-info.java | 4 --- 4 files changed, 22 insertions(+), 29 deletions(-) delete mode 100644 implementation/src/main/java/module-info.java delete mode 100644 math/src/main/java/module-info.java diff --git a/implementation/pom.xml b/implementation/pom.xml index 4fd45f81e..1139fefa8 100644 --- a/implementation/pom.xml +++ b/implementation/pom.xml @@ -119,6 +119,17 @@ io.smallrye jandex-maven-plugin + + org.apache.maven.plugins + maven-jar-plugin + + + + io.smallrye.mutiny + + + + org.revapi revapi-maven-plugin diff --git a/implementation/src/main/java/module-info.java b/implementation/src/main/java/module-info.java deleted file mode 100644 index 0494bd048..000000000 --- a/implementation/src/main/java/module-info.java +++ /dev/null @@ -1,25 +0,0 @@ -open module io.smallrye.mutiny { - - requires transitive io.smallrye.common.annotation; - - exports io.smallrye.mutiny; - exports io.smallrye.mutiny.converters.multi; - exports io.smallrye.mutiny.converters.uni; - exports io.smallrye.mutiny.converters; - exports io.smallrye.mutiny.groups; - exports io.smallrye.mutiny.helpers; - exports io.smallrye.mutiny.helpers.spies; - exports io.smallrye.mutiny.helpers.test; - exports io.smallrye.mutiny.infrastructure; - exports io.smallrye.mutiny.operators; - exports io.smallrye.mutiny.operators.multi.processors; - exports io.smallrye.mutiny.operators.multi.split; - exports io.smallrye.mutiny.subscription; - exports io.smallrye.mutiny.tuples; - exports io.smallrye.mutiny.unchecked; - - uses io.smallrye.mutiny.infrastructure.MultiInterceptor; - uses io.smallrye.mutiny.infrastructure.ExecutorConfiguration; - uses io.smallrye.mutiny.infrastructure.UniInterceptor; - uses io.smallrye.mutiny.infrastructure.CallbackDecorator; -} \ No newline at end of file diff --git a/math/pom.xml b/math/pom.xml index bd2d16d1b..a8097c3a4 100644 --- a/math/pom.xml +++ b/math/pom.xml @@ -75,6 +75,17 @@ io.smallrye jandex-maven-plugin + + org.apache.maven.plugins + maven-jar-plugin + + + + io.smallrye.mutiny.math + + + + org.revapi revapi-maven-plugin diff --git a/math/src/main/java/module-info.java b/math/src/main/java/module-info.java deleted file mode 100644 index fdb873909..000000000 --- a/math/src/main/java/module-info.java +++ /dev/null @@ -1,4 +0,0 @@ -open module io.smallrye.mutiny.math { - - requires transitive io.smallrye.mutiny; -} \ No newline at end of file