You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2021/09/22 16:26:12 UTC

[sis] 07/07: Remove provided in declarations of Jakarta API dependency. Environments providing JAXB by default are rare now.

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

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit a493472a10ae595f06aa9d38a4b2a5b39d08ddf6
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Wed Sep 22 18:24:15 2021 +0200

    Remove <scope>provided</scope> in declarations of Jakarta API dependency.
    Environments providing JAXB by default are rare now.
---
 application/sis-console/pom.xml    | 4 ----
 application/sis-javafx/pom.xml     | 5 -----
 application/sis-openoffice/pom.xml | 5 -----
 pom.xml                            | 6 ------
 4 files changed, 20 deletions(-)

diff --git a/application/sis-console/pom.xml b/application/sis-console/pom.xml
index 7b12425..bdf2bda 100644
--- a/application/sis-console/pom.xml
+++ b/application/sis-console/pom.xml
@@ -139,10 +139,6 @@
       <version>${project.version}</version>
       <scope>runtime</scope>
     </dependency>
-    <dependency>
-      <groupId>jakarta.xml.bind</groupId>
-      <artifactId>jakarta.xml.bind-api</artifactId>
-    </dependency>
 
     <!-- Test dependencies -->
     <dependency>
diff --git a/application/sis-javafx/pom.xml b/application/sis-javafx/pom.xml
index fa2e2a9..995a99f 100644
--- a/application/sis-javafx/pom.xml
+++ b/application/sis-javafx/pom.xml
@@ -151,11 +151,6 @@
       <scope>runtime</scope>
     </dependency>
     <dependency>
-      <groupId>jakarta.xml.bind</groupId>
-      <artifactId>jakarta.xml.bind-api</artifactId>
-      <scope>compile</scope>
-    </dependency>
-    <dependency>
       <groupId>org.glassfish.jaxb</groupId>
       <artifactId>jaxb-runtime</artifactId>
       <scope>runtime</scope>
diff --git a/application/sis-openoffice/pom.xml b/application/sis-openoffice/pom.xml
index 4e2f8a2..b2138f2 100644
--- a/application/sis-openoffice/pom.xml
+++ b/application/sis-openoffice/pom.xml
@@ -100,11 +100,6 @@
       <artifactId>sis-utility</artifactId>
       <version>${project.version}</version>
     </dependency>
-    <dependency>
-      <groupId>jakarta.xml.bind</groupId>
-      <artifactId>jakarta.xml.bind-api</artifactId>
-      <scope>compile</scope>
-    </dependency>
 
     <!-- Following dependencies are included in LibreOffice runtime environment. -->
     <dependency>
diff --git a/pom.xml b/pom.xml
index a23908b..715f72d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -469,7 +469,6 @@
         <groupId>jakarta.xml.bind</groupId>
         <artifactId>jakarta.xml.bind-api</artifactId>
         <version>${jaxb.version}</version>
-        <scope>provided</scope>             <!-- Because available in JDK8. -->
       </dependency>
       <dependency>
         <groupId>org.glassfish.jaxb</groupId>
@@ -534,11 +533,6 @@
       <artifactId>junit</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>   <!-- To be removed after https://issues.apache.org/jira/browse/SIS-469 is done. -->
-      <groupId>jakarta.xml.bind</groupId>
-      <artifactId>jakarta.xml.bind-api</artifactId>
-      <scope>test</scope>
-    </dependency>
   </dependencies>