You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2021/09/02 11:38:49 UTC

[jena] branch main updated: JENA-1948: Refine dependencies to remove shading warnings

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 8bedad7  JENA-1948: Refine dependencies to remove shading warnings
     new d3d7b54  Merge pull request #1060 from afs/jsonld-tidy
8bedad7 is described below

commit 8bedad7f5330ca304af78d88b1907917d0d01625
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Wed Sep 1 16:00:13 2021 +0100

    JENA-1948: Refine dependencies to remove shading warnings
---
 jena-arq/pom.xml | 10 ++++++----
 pom.xml          |  6 ++++++
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/jena-arq/pom.xml b/jena-arq/pom.xml
index 31c0241..ab240d4 100644
--- a/jena-arq/pom.xml
+++ b/jena-arq/pom.xml
@@ -76,10 +76,12 @@
       <artifactId>titanium-json-ld</artifactId>
     </dependency>
     <!-- Eclipse Public License 2.0 (category-B) -->
-    <dependency>
-      <groupId>jakarta.json</groupId>
-      <artifactId>jakarta.json-api</artifactId>
-    </dependency>
+    <!-- Not required - contained in org.glassfish:jakarta.json
+         <dependency>
+           <groupId>jakarta.json</groupId>
+           <artifactId>jakarta.json-api</artifactId>
+         </dependency>
+    -->
     <!--  Eclipse Public License 2.0 (category-B) -->
     <dependency>
       <groupId>org.glassfish</groupId>
diff --git a/pom.xml b/pom.xml
index b457b08..c3a4cb9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -446,11 +446,17 @@
         <version>1.1.0</version>
       </dependency>
       <!-- Eclipse Public License 2.0 (category-B) -->
+      <!--
+          Not required if using org.glassfish:jakarta.json because 
+          that contains a copy. Less shading warnings if not used
+          in jena-arq.
+      -->
       <dependency>
         <groupId>jakarta.json</groupId>
         <artifactId>jakarta.json-api</artifactId>
         <version>2.0.1</version>
       </dependency>
+
       <!-- Eclipse Public License 2.0 (category-B) -->
       <dependency>
         <groupId>org.glassfish</groupId>