This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new 0aa96022b1 GH-3472: Restore log4j artifacts at runtime
0aa96022b1 is described below
commit 0aa96022b1379bf9551f0676a3dc722ecc848ddb
Author: Andy Seaborne <[email protected]>
AuthorDate: Sun Sep 28 13:28:36 2025 +0100
GH-3472: Restore log4j artifacts at runtime
---
jena-fuseki2/jena-fuseki-geosparql/pom.xml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/jena-fuseki2/jena-fuseki-geosparql/pom.xml
b/jena-fuseki2/jena-fuseki-geosparql/pom.xml
index d4d848777d..f7bcc63286 100644
--- a/jena-fuseki2/jena-fuseki-geosparql/pom.xml
+++ b/jena-fuseki2/jena-fuseki-geosparql/pom.xml
@@ -80,15 +80,16 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
+ <!-- Tests are JUnit4 -->
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
@@ -124,6 +125,10 @@
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.apache.jena.fuseki.geosparql.Main</mainClass>
+ <!-- https://issues.apache.org/jira/browse/LOG4J2-2537 -->
+ <manifestEntries>
+ <Multi-Release>true</Multi-Release>
+ </manifestEntries>
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"
/>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"
/>