From 2d021912ddefe63708f3f637a628753ae651554e Mon Sep 17 00:00:00 2001 From: Simon Templer Date: Fri, 10 Mar 2023 15:13:07 +0100 Subject: [PATCH] build: exclude dependencies that are included in Java 11+ ...because when generating Eclipse projects with Maven, in Eclipse there are compile errors like these if the dependencies are included: ``` The package javax.xml.stream is accessible from more than one module: , java.xml ``` --- deegree-ogcapi-config/pom.xml | 4 ---- deegree-ogcapi-features/pom.xml | 8 -------- pom.xml | 17 ++++++++++++----- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/deegree-ogcapi-config/pom.xml b/deegree-ogcapi-config/pom.xml index ba91f4e3..fc0b7bf9 100644 --- a/deegree-ogcapi-config/pom.xml +++ b/deegree-ogcapi-config/pom.xml @@ -60,10 +60,6 @@ commons-io commons-io - - xml-apis - xml-apis - diff --git a/deegree-ogcapi-features/pom.xml b/deegree-ogcapi-features/pom.xml index e6cb19b1..7c360899 100644 --- a/deegree-ogcapi-features/pom.xml +++ b/deegree-ogcapi-features/pom.xml @@ -102,14 +102,6 @@ org.apache.httpcomponents httpcore - - org.apache.geronimo.specs - geronimo-stax-api_1.0_spec - - - xml-apis - xml-apis - xerces xercesImpl diff --git a/pom.xml b/pom.xml index 317eb3ea..9d274d3c 100644 --- a/pom.xml +++ b/pom.xml @@ -567,6 +567,12 @@ org.deegree deegree-core-commons ${deegree-version} + + + org.apache.geronimo.specs + geronimo-stax-api_1.0_spec + + org.deegree @@ -749,11 +755,12 @@ xerces xercesImpl 2.12.2 - - - xml-apis - xml-apis - 1.4.01 + + + xml-apis + xml-apis + +