You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2023/05/25 14:28:12 UTC
[ofbiz-plugins] 01/02: Fixed: Eclipse build problems and proper dependency setup (OFBIZ-12808)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
commit 520cab2735f8a8025caf9fa5545b9b9487c0e1bd
Author: Michael Brohl <mi...@ecomify.de>
AuthorDate: Fri Apr 21 14:24:56 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 release22.01 plugins.
---
ldap/build.gradle | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/ldap/build.gradle b/ldap/build.gradle
index 38d884967..4ae37ae6e 100644
--- a/ldap/build.gradle
+++ b/ldap/build.gradle
@@ -37,3 +37,12 @@ configurations.all {
exclude group: 'geronimo-spec', module: 'geronimo-spec-jta'
}
+
+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'
+
+}