Skip to content

Commit c249697

Browse files
committed
Disable -jpms-multi-release BND option
Due to limitations of BND 6.x and the build process of our multi-release JARs, this option was never effective. We could reenable it in multi-release JARs that have a difference in package and module dependencies between Java versions.
1 parent 53d2fd6 commit c249697

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,9 +1026,6 @@ import org.apache.commons.codec.digest.*;
10261026
# Allow each project to override the `Multi-Release` header:
10271027
Multi-Release: $[bnd-multi-release]
10281028
1029-
# Add manifests and modules for each multi-release version:
1030-
-jpms-multi-release: $[bnd-multi-release]
1031-
10321029
# Adds certain `Implementation-*` and `Specification-*` entries to the generated `MANIFEST.MF`.
10331030
# Using these properties is known to be a bad practice: https://github.com/apache/logging-log4j2/issues/1923#issuecomment-1786818254
10341031
# Users should use `META-INF/maven/<groupId>/<artifactId>/pom.properties` instead.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://logging.apache.org/log4j/changelog"
4+
xsi:schemaLocation="http://logging.apache.org/log4j/changelog https://logging.apache.org/log4j/changelog-0.1.3.xsd"
5+
type="changed">
6+
<issue id="93" link="https://github.com/apache/logging-parent/pull/93"/>
7+
<description format="asciidoc">Disable https://bnd.bndtools.org/instructions/jpms-multi-release.html[`-jpms-multi-release`] BND option.</description>
8+
</entry>

0 commit comments

Comments
 (0)