From 585b47f31f319209421efa07616271224a62dde1 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Mon, 16 Mar 2026 20:47:47 -0400 Subject: [PATCH] JBoss maven hot fix. (#10863) JBoss maven hot fix. Co-authored-by: stuart.mcculloch --- dd-smoke-tests/rum/wildfly-15/build.gradle | 7 ++++++- dd-smoke-tests/wildfly/build.gradle | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dd-smoke-tests/rum/wildfly-15/build.gradle b/dd-smoke-tests/rum/wildfly-15/build.gradle index bbdde991903..5d0d3e0d65d 100644 --- a/dd-smoke-tests/rum/wildfly-15/build.gradle +++ b/dd-smoke-tests/rum/wildfly-15/build.gradle @@ -9,6 +9,12 @@ ext { repositories { ivy { url = 'https://download.jboss.org/' + // Restrict this repository to WildFly distribution artifacts only. + // Without this filter, Gradle may probe this host for unrelated dependencies + // (for example JUnit/Mockito), which makes the build flaky when the host is unreachable. + content { + includeGroup 'wildfly' + } patternLayout { // artifact '/[organisation]/[revision]/[module]/[organisation]-[module]-[revision].[ext]' // we download the full EE profile and not the servlet minimal one @@ -124,4 +130,3 @@ tasks.withType(Test).configureEach { dependsOn 'deploy' jvmArgs "-Ddatadog.smoketest.wildflyDir=${wildflyDir}" } - diff --git a/dd-smoke-tests/wildfly/build.gradle b/dd-smoke-tests/wildfly/build.gradle index 69d1acd93b8..eec2b3bae9e 100644 --- a/dd-smoke-tests/wildfly/build.gradle +++ b/dd-smoke-tests/wildfly/build.gradle @@ -9,6 +9,12 @@ ext { repositories { ivy { url = 'https://download.jboss.org/' + // Restrict this repository to WildFly distribution artifacts only. + // Without this filter, Gradle may probe this host for unrelated dependencies + // (for example JUnit/Mockito), which makes the build flaky when the host is unreachable. + content { + includeGroup 'wildfly' + } patternLayout { // artifact '/[organisation]/[revision]/[module]/[organisation]-[module]-[revision].[ext]' // we download the full EE profile and not the servlet minimal one @@ -127,4 +133,3 @@ tasks.withType(Test).configureEach { dependsOn 'deploy' jvmArgs "-Ddatadog.smoketest.wildflyDir=${wildflyDir}" } -