This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 3cc3018  add patch as workaround for SLING-13027
3cc3018 is described below

commit 3cc301869147e6d1025b0321121eaed64196d973
Author: Stefan Seifert <[email protected]>
AuthorDate: Tue Dec 9 16:22:10 2025 +0100

    add patch as workaround for SLING-13027
---
 generate_javadoc_for_release.sh                        |  2 +-
 patches/sling-org.apache.sling.servlets.resolver-3.0.4 | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/generate_javadoc_for_release.sh b/generate_javadoc_for_release.sh
index e61cd7a..7a0eaac 100755
--- a/generate_javadoc_for_release.sh
+++ b/generate_javadoc_for_release.sh
@@ -86,7 +86,7 @@ for artifact in $artifacts; do
         fi
         echo "Exporting $artifact from source control"
         git -c advice.detachedHead=false clone 
https://github.com/apache/${artifact_repo} --branch ${branch_name} 
${WORKDIR}/${artifact_dir}
-        if [ -f patches/$artifact ]; then
+        if [ -f patches/$artifact_dir ]; then
             echo "Applying patch"
             pushd $WORKDIR/$artifact_dir
             patch -p0 < ../../patches/$artifact_dir
diff --git a/patches/sling-org.apache.sling.servlets.resolver-3.0.4 
b/patches/sling-org.apache.sling.servlets.resolver-3.0.4
new file mode 100644
index 0000000..23a1c3a
--- /dev/null
+++ b/patches/sling-org.apache.sling.servlets.resolver-3.0.4
@@ -0,0 +1,15 @@
+--- pom.xml
++++ pom.xml
+@@ -101,6 +101,12 @@
+             <version>2.0.0</version>
+             <scope>provided</scope>
+         </dependency>
++        <dependency>
++            <groupId>jakarta.json</groupId>
++            <artifactId>jakarta.json-api</artifactId>
++            <version>2.1.1</version>
++            <scope>provided</scope>
++        </dependency>
+         <dependency>
+             <groupId>org.apache.sling</groupId>
+             <artifactId>org.apache.sling.api</artifactId>

Reply via email to