You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2023/07/28 13:15:04 UTC
[fineract] branch develop updated: FINERACT-1724 - Supress error messages related to invalid maven pom model version in old eclipse artifacts.
This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 7741340ef FINERACT-1724 - Supress error messages related to invalid maven pom model version in old eclipse artifacts.
7741340ef is described below
commit 7741340ef302e0e651e46cd6f4d80bc010f54e4b
Author: Peter Bagrij <pe...@dpc.hu>
AuthorDate: Fri Jul 28 08:38:26 2023 +0200
FINERACT-1724
- Supress error messages related to invalid maven pom model version in old eclipse artifacts.
---
buildSrc/build.gradle | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index 6c5020976..bd62d838a 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -16,6 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
+
+import static org.slf4j.LoggerFactory.*
+
plugins {
id 'io.spring.dependency-management' version '1.1.0'
id 'groovy'
@@ -23,6 +26,12 @@ plugins {
id 'groovy-gradle-plugin'
}
+//Suppress errors related to invalid org.eclipse.* maven poms versions.
+def loggerFactory = getILoggerFactory()
+def noOpMethod = getILoggerFactory().getClass().getDeclaredMethod("addNoOpLogger", String.class)
+noOpMethod.setAccessible(true)
+noOpMethod.invoke(loggerFactory, "io.spring.gradle.dependencymanagement.internal.maven.EffectiveModelBuilder")
+
apply from: "${projectDir}/src/main/groovy/org.apache.fineract.dependencies.gradle"
description = 'Fineract Gradle Plugin'