From 0efe581c326c04a4e06c4e4a985151008eae5815 Mon Sep 17 00:00:00 2001 From: Bernd Ahlers Date: Thu, 28 Aug 2025 19:06:04 +0200 Subject: [PATCH] Pull up surefire and failsafe config so all modules and plugins use it (#23478) --- graylog-project-parent/pom.xml | 49 ---------------------------------- pom.xml | 38 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 49 deletions(-) diff --git a/graylog-project-parent/pom.xml b/graylog-project-parent/pom.xml index e58c4b09d7..1a6b5a76ff 100644 --- a/graylog-project-parent/pom.xml +++ b/graylog-project-parent/pom.xml @@ -549,55 +549,6 @@ - - org.apache.maven.plugins - maven-dependency-plugin - - - test-compile - - - properties - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - 1 - true - - -javaagent:${org.mockito:mockito-core:jar} -Dio.netty.leakDetectionLevel=paranoid -Djava.awt.headless=true - - **/*IntegrationTest.java - **/*IT.java - - - **/*Spec.class - **/*Test.class - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - 1 - false - -Djava.awt.headless=true - - - - - integration-test - verify - - - - com.mycila license-maven-plugin diff --git a/pom.xml b/pom.xml index c91822653b..6df209fd43 100644 --- a/pom.xml +++ b/pom.xml @@ -89,6 +89,12 @@ ${project.build.directory}/local-maven-repo + + -javaagent:@{org.mockito:mockito-core:jar} -Dio.netty.leakDetectionLevel=paranoid -Djava.awt.headless=true + -Djava.awt.headless=true + 2.19.3-1 3.1.0 @@ -715,12 +721,44 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + test-compile + + + properties + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + false + 1 + true + ${common.surefire.args} + + **/*IntegrationTest.java + **/*IT.java + + + **/*Spec.class + **/*Test.class + + + org.apache.maven.plugins maven-failsafe-plugin 1 false + ${common.failsafe.args}