You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by sv...@apache.org on 2019/03/22 14:32:57 UTC
[wicket] branch master updated: exclude xmlParserAPIs to prevent
Java 9 module errors
This is an automated email from the ASF dual-hosted git repository.
svenmeier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/master by this push:
new c2d3442 exclude xmlParserAPIs to prevent Java 9 module errors
c2d3442 is described below
commit c2d344219ef8046508ca40653c9de485b3cbd4c4
Author: Sven Meier <sv...@apache.org>
AuthorDate: Fri Mar 22 15:32:16 2019 +0100
exclude xmlParserAPIs to prevent Java 9 module errors
---
pom.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/pom.xml b/pom.xml
index 52f50c7..adf2e40 100644
--- a/pom.xml
+++ b/pom.xml
@@ -570,6 +570,17 @@
<artifactId>httpunit</artifactId>
<version>1.7.3</version>
<scope>test</scope>
+ <exclusions>
+ <!--
+ A dependency on xerces:xmlParserAPIs pulls classes (e.g. org.xml.sax.SAXException) into this
+ module, that are already defined in module JRA "java.xml". This violation of "unique visibility"
+ causes compile errors in Eclipse (see bug 536928) and (in the future, see JDK-8215739) javac.
+ -->
+ <exclusion>
+ <groupId>xerces</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.jglue.cdi-unit</groupId>