Skip to content

Commit c2e8fe0

Browse files
Remove Tyrus version pin in jakarta-websocket latestDepTest introduced in #10846 (#10859)
Remove Tyrus version pin in jakarta-websocket latestDepTest Merge branch 'master' into alexeyk/revert-grizzly-bom-fix Idiomatic way to skip broken dependencies. Merge branch 'master' into alexeyk/revert-grizzly-bom-fix Co-authored-by: alexey.kuznetsov <alexey.kuznetsov@datadoghq.com>
1 parent 51f0fec commit c2e8fe0

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • dd-java-agent/instrumentation/websocket/jakarta-websocket-2.0

dd-java-agent/instrumentation/websocket/jakarta-websocket-2.0/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ dependencies {
2222

2323
testRuntimeOnly project(":dd-java-agent:instrumentation:websocket:javax-websocket-1.0")
2424
testImplementation group: 'org.glassfish.tyrus', name: 'tyrus-container-inmemory', version: '2.0.0'
25-
// `tyrus 2.3.0-M1` pulls `grizzly 5.0.0`, whose POM imports a missing `grizzly-bom 5.0.0-SNAPSHOT`.
26-
// See issue: https://github.com/eclipse-ee4j/glassfish-grizzly/issues/2278
27-
// This fix must be revisited once correct version of `grizzly-bom` will be released.
28-
latestDepTestImplementation group: 'org.glassfish.tyrus', name: 'tyrus-container-inmemory', version: '2.2.+'
25+
latestDepTestImplementation(group: 'org.glassfish.tyrus', name: 'tyrus-container-inmemory', version: '+') {
26+
version {
27+
reject '2.3.0-M1'
28+
}
29+
because 'Tyrus 2.3.0-M1 depends on broken Grizzly 5.0.0 POM metadata'
30+
}
2931
}
3032

3133
tasks.named('latestDepTest', Test) {

0 commit comments

Comments
 (0)