This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/2.x by this push:
new 3b0c77d5e8 introduced a jakarta support range for the bnd tool (#3791)
3b0c77d5e8 is described below
commit 3b0c77d5e8195c437bbe690f87180fe3ba44e48d
Author: Johan Compagner <[email protected]>
AuthorDate: Mon Jun 30 18:57:18 2025 +0200
introduced a jakarta support range for the bnd tool (#3791)
Fixes #3787
---
log4j-jakarta-web/pom.xml | 3 +++
...787_jakarta-web_relax_the_import_package_constraints.xml | 13 +++++++++++++
2 files changed, 16 insertions(+)
diff --git a/log4j-jakarta-web/pom.xml b/log4j-jakarta-web/pom.xml
index 9dc6667611..4c5f33a4db 100644
--- a/log4j-jakarta-web/pom.xml
+++ b/log4j-jakarta-web/pom.xml
@@ -39,6 +39,9 @@
-->
<bnd-module-name>org.apache.logging.log4j.web</bnd-module-name>
<Fragment-Host>org.apache.logging.log4j.core</Fragment-Host>
+ <jakarta.support.range>[5.0,7)</jakarta.support.range>
+
<bnd-extra-package-options>jakarta.servlet;version="${jakarta.support.range}",
+
jakarta.servlet.http;version="${jakarta.support.range}"</bnd-extra-package-options>
</properties>
<dependencies>
diff --git
a/src/changelog/.2.x.x/3787_jakarta-web_relax_the_import_package_constraints.xml
b/src/changelog/.2.x.x/3787_jakarta-web_relax_the_import_package_constraints.xml
new file mode 100644
index 0000000000..9602fb8af8
--- /dev/null
+++
b/src/changelog/.2.x.x/3787_jakarta-web_relax_the_import_package_constraints.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns="https://logging.apache.org/xml/ns"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ https://logging.apache.org/xml/ns
+ https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
+ type="changed">
+ <issue id="3787"
link="https://github.com/apache/logging-log4j2/issues/3787"/>
+ <description format="asciidoc">
+ add a bnd tool property that makes sure that the supported jakarta
version has a wider range then 5 to 6
+ Support the current release version for 5 to 7
+ </description>
+</entry>