Skip to content

Commit

Permalink
build: exclude dependencies that are included in Java 11+
Browse files Browse the repository at this point in the history
...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: <unnamed>, java.xml
```
  • Loading branch information
stempler committed May 12, 2023
1 parent bb423c2 commit 2d02191
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
4 changes: 0 additions & 4 deletions deegree-ogcapi-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</dependency>
</dependencies>

</project>
8 changes: 0 additions & 8 deletions deegree-ogcapi-features/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
Expand Down
17 changes: 12 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,12 @@
<groupId>org.deegree</groupId>
<artifactId>deegree-core-commons</artifactId>
<version>${deegree-version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.deegree</groupId>
Expand Down Expand Up @@ -749,11 +755,12 @@
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.12.2</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
<exclusions>
<exclusion>
<artifactId>xml-apis</artifactId>
<groupId>xml-apis</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- logging -->
<dependency>
Expand Down

0 comments on commit 2d02191

Please sign in to comment.