diff --git a/pom.xml b/pom.xml index 55bf600709..37e49f9ade 100644 --- a/pom.xml +++ b/pom.xml @@ -267,6 +267,9 @@ tools.jackson.core.*;version=${project.version} module-info.* tools/jackson/core/testutil/**/*.* + + + diff --git a/src/test/java/module-info.java b/src/test/java/module-info.java index 3ee1470f49..84c32dc0a5 100644 --- a/src/test/java/module-info.java +++ b/src/test/java/module-info.java @@ -3,16 +3,18 @@ module tools.jackson.core.testutil { // Additional test lib/framework dependencies - requires org.assertj.core; - requires org.junit.jupiter.api; - requires org.junit.jupiter.params; + requires transitive org.assertj.core; + requires transitive org.junit.jupiter.api; + requires transitive org.junit.jupiter.params; // Requires Main jar for tests requires tools.jackson.core; - // Exports a small set of Classes for downstream Jackson components + // Exports/opens a small set of Classes for downstream Jackson components exports tools.jackson.core.testutil; exports tools.jackson.core.testutil.failure; + opens tools.jackson.core.testutil; + opens tools.jackson.core.testutil.failure; // Additional test opens for JUnit tests @@ -31,7 +33,6 @@ opens tools.jackson.core.unittest.jsonptr; opens tools.jackson.core.unittest.read; opens tools.jackson.core.unittest.read.loc; - opens tools.jackson.core.testutil.failure; opens tools.jackson.core.unittest.tofix; opens tools.jackson.core.unittest.tofix.async; opens tools.jackson.core.unittest.sym;