Skip to content

Commit ea1eeab

Browse files
JBoss maven hot fix. (#10863)
JBoss maven hot fix. Co-authored-by: stuart.mcculloch <stuart.mcculloch@datadoghq.com>
1 parent 0a45dd7 commit ea1eeab

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

dd-smoke-tests/rum/wildfly-15/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ ext {
99
repositories {
1010
ivy {
1111
url = 'https://download.jboss.org/'
12+
// Restrict this repository to WildFly distribution artifacts only.
13+
// Without this filter, Gradle may probe this host for unrelated dependencies
14+
// (for example JUnit/Mockito), which makes the build flaky when the host is unreachable.
15+
content {
16+
includeGroup 'wildfly'
17+
}
1218
patternLayout {
1319
// artifact '/[organisation]/[revision]/[module]/[organisation]-[module]-[revision].[ext]'
1420
// we download the full EE profile and not the servlet minimal one
@@ -124,4 +130,3 @@ tasks.withType(Test).configureEach {
124130
dependsOn 'deploy'
125131
jvmArgs "-Ddatadog.smoketest.wildflyDir=${wildflyDir}"
126132
}
127-

dd-smoke-tests/wildfly/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ ext {
99
repositories {
1010
ivy {
1111
url = 'https://download.jboss.org/'
12+
// Restrict this repository to WildFly distribution artifacts only.
13+
// Without this filter, Gradle may probe this host for unrelated dependencies
14+
// (for example JUnit/Mockito), which makes the build flaky when the host is unreachable.
15+
content {
16+
includeGroup 'wildfly'
17+
}
1218
patternLayout {
1319
// artifact '/[organisation]/[revision]/[module]/[organisation]-[module]-[revision].[ext]'
1420
// we download the full EE profile and not the servlet minimal one
@@ -127,4 +133,3 @@ tasks.withType(Test).configureEach {
127133
dependsOn 'deploy'
128134
jvmArgs "-Ddatadog.smoketest.wildflyDir=${wildflyDir}"
129135
}
130-

0 commit comments

Comments
 (0)