From ced48a61cee2600f0a6cb93a2d98c4139faa2b94 Mon Sep 17 00:00:00 2001 From: MLeila Date: Tue, 26 Mar 2024 14:21:20 +0100 Subject: [PATCH] Fixed: Fix problems with Eclipse about multi module dependencies (OFBIZ-12963) Correction of java problems signaled by Eclipse due to the presence of the same classes in different module Thanks: Gil Portenseigne for reporting and providing the patch. --- dependencies.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dependencies.gradle b/dependencies.gradle index b49965fbb91..714bcda0a0f 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -81,7 +81,10 @@ dependencies { implementation 'org.jdom:jdom:1.1.3' // don't upgrade above 1.1.3, makes a lot of not obvious and useless complications, see last commits of OFBIZ-12092 for more implementation 'com.google.re2j:re2j:1.7' implementation 'xerces:xercesImpl:2.12.2' - implementation 'org.mustangproject:library:2.8.0' // 2.10.0 did not work, cf. OFBIZ-12920 (https://github.com/apache/ofbiz-framework/pull/712#issuecomment-1968960963) + implementation('org.mustangproject:library:2.8.0') { // 2.10.0 did not work, cf. OFBIZ-12920 (https://github.com/apache/ofbiz-framework/pull/712#issuecomment-1968960963) + exclude group: 'pull-parser', module: 'pull-parser' + exclude group: 'xpp3', module: 'xpp3' + } testImplementation 'org.hamcrest:hamcrest-library:2.2' // Enable junit4 to not depend on hamcrest-1.3 testImplementation 'org.mockito:mockito-core:5.10.0'