This is an automated email from the ASF dual-hosted git repository.
Lukas-Finster pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6ab946dd02 Fix: Fixes broken classpath file created using gradlew
eclipse (OFBIZ-13481)
6ab946dd02 is described below
commit 6ab946dd02d35805a548ae47d964e7da8e4c0cf9
Author: Lukas Finster <[email protected]>
AuthorDate: Tue Aug 4 13:53:50 2026 +0200
Fix: Fixes broken classpath file created using gradlew eclipse (OFBIZ-13481)
* Adds a filter to the existing whenMerged hook to filter entrys whose
kind="lib" and that end in .pom before the classpath gets written to xml.
---
build.gradle | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/build.gradle b/build.gradle
index d8295cf207..07b8f1261c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -374,6 +374,11 @@ eclipse.classpath.file.whenMerged { classpath ->
entry.path ==~ /(\/+themes)$/ )
}
}
+
+ // remove .pom artifacts from classpath
+ classpath.entries.removeAll { entry ->
+ entry.kind == 'lib' && entry.path.endsWith('.pom')
+ }
}
tasks.eclipse.dependsOn(cleanEclipse)