This is an automated email from the ASF dual-hosted git repository. mbrohl pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push: new e5beba5bd Fixed: Eclipse build problems and proper dependency setup (OFBIZ-12808) e5beba5bd is described below commit e5beba5bd779bc75bfca6519e86a3136764ad2d4 Author: Michael Brohl <michael.br...@ecomify.de> AuthorDate: Fri Apr 21 14:51:15 2023 +0200 Fixed: Eclipse build problems and proper dependency setup (OFBIZ-12808) Due to improper dependency configurations and the JPMS (Java Plattform Module System) which was introduced to Java since version 9, the Eclipse build and running/debugging is not working with JDK 17 (trunk and release22.01). The reason is that there are dependencies to libraries which are also shipped with the JDK which causes a conflict leading to ignore those packages/classes in the build. This commit fixes the problems for the trunk plugins. --- birt/build.gradle | 6 ++++++ ldap/build.gradle | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/birt/build.gradle b/birt/build.gradle index 0ce984e1e..6ee6e884f 100644 --- a/birt/build.gradle +++ b/birt/build.gradle @@ -23,3 +23,9 @@ dependencies { exclude group: 'org.eclipse.birt.runtime.3_7_1', module: 'org.apache.batik.pdf' } } + +configurations.all { + exclude group: 'org.eclipse.birt.runtime', module: 'javax.xml.stream' + exclude group: 'org.eclipse.birt.runtime.3_7_1', module: 'org.apache.xml.serializer' + exclude group: 'org.eclipse.birt.runtime.3_7_1', module: 'org.apache.xerces' +} diff --git a/ldap/build.gradle b/ldap/build.gradle index c638c854e..38d884967 100644 --- a/ldap/build.gradle +++ b/ldap/build.gradle @@ -28,3 +28,12 @@ dependencies { pluginLibsCompile 'org.apereo.cas:cas-server-support-ldap-core:5.0.10' } + +configurations.all { + exclude group: 'javax.xml.parsers', module: 'jsr173_api' + exclude group: 'javax.xml.namespace', module: 'jsr173_api' + exclude group: 'javax.xml.bind', module: 'jsr173_api' + exclude group: 'javax.xml.bind', module: 'jaxb-api' + exclude group: 'geronimo-spec', module: 'geronimo-spec-jta' + +}