diff --git a/log4j-parent/pom.xml b/log4j-parent/pom.xml index 01a26c37850..4b8fba67bd5 100644 --- a/log4j-parent/pom.xml +++ b/log4j-parent/pom.xml @@ -154,6 +154,16 @@ 4.4.16 5.17.0 + + $[bnd-module-name];access=0;modules=" + biz.aQute.bnd.annotation, + com.google.errorprone.annotations, + com.github.spotbugs.annotations, + org.osgi.annotation.bundle, + org.osgi.annotation.versioning + " @@ -1088,6 +1098,58 @@ + + + org.gradlex + gradle-module-metadata-maven-plugin + 1.0.1 + + + + org.jspecify + jspecify + ${jspecify.version} + + + biz.aQute.bnd + biz.aQute.bnd.annotation + ${bnd.annotation.version} + + + com.google.errorprone + error_prone_annotations + ${error-prone.version} + + + org.osgi + + org.osgi.annotation.bundle + ${osgi.annotation.bundle.version} + + + org.osgi + org.osgi.annotation.versioning + ${osgi.annotation.versioning.version} + + + com.github.spotbugs + spotbugs-annotations + ${spotbugs-annotations.version} + + + + + + + gmm + + + + + diff --git a/src/changelog/.2.x.x/3437_transtive_compile_only_dependencies.xml b/src/changelog/.2.x.x/3437_transtive_compile_only_dependencies.xml new file mode 100644 index 00000000000..e509bcd4c75 --- /dev/null +++ b/src/changelog/.2.x.x/3437_transtive_compile_only_dependencies.xml @@ -0,0 +1,11 @@ + + + + + Make annotation libraries visible transitively at compile time for Gradle users through Gradle Module Metadata + and for JPMS users through `requires static` directives in `module-info.java` files. + +