Skip to content

Commit 3b0c77d

Browse files
authored
introduced a jakarta support range for the bnd tool (#3791)
Fixes #3787
1 parent 9b66389 commit 3b0c77d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

log4j-jakarta-web/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
-->
4040
<bnd-module-name>org.apache.logging.log4j.web</bnd-module-name>
4141
<Fragment-Host>org.apache.logging.log4j.core</Fragment-Host>
42+
<jakarta.support.range>[5.0,7)</jakarta.support.range>
43+
<bnd-extra-package-options>jakarta.servlet;version="${jakarta.support.range}",
44+
jakarta.servlet.http;version="${jakarta.support.range}"</bnd-extra-package-options>
4245
</properties>
4346

4447
<dependencies>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<entry xmlns="https://logging.apache.org/xml/ns"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="
5+
https://logging.apache.org/xml/ns
6+
https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
7+
type="changed">
8+
<issue id="3787" link="https://github.com/apache/logging-log4j2/issues/3787"/>
9+
<description format="asciidoc">
10+
add a bnd tool property that makes sure that the supported jakarta version has a wider range then 5 to 6
11+
Support the current release version for 5 to 7
12+
</description>
13+
</entry>

0 commit comments

Comments
 (0)