Skip to content

Commit d29da22

Browse files
Adding JSR-305 for some test modules, it is needed for javax.annotation.Nullable
I have no idea what brought it in in the first place but now it was missing
1 parent bce891d commit d29da22

File tree

3 files changed

+15
-2
lines changed
  • spring-cloud-sleuth-otel-autoconfigure
  • tests/otel/spring-cloud-sleuth-instrumentation-messaging-tests

3 files changed

+15
-2
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
<hamcrest-core.version>2.2</hamcrest-core.version>
8888
<awaitility.version>4.0.3</awaitility.version>
8989
<archunit-junit5.version>0.14.1</archunit-junit5.version>
90+
<jsr305.version>3.0.2</jsr305.version>
9091
</properties>
9192

9293
<build>
@@ -289,6 +290,11 @@
289290
<artifactId>archunit-junit5</artifactId>
290291
<version>${archunit-junit5.version}</version>
291292
</dependency>
293+
<dependency>
294+
<groupId>com.google.code.findbugs</groupId>
295+
<artifactId>jsr305</artifactId>
296+
<version>${jsr305.version}</version>
297+
</dependency>
292298
</dependencies>
293299
</dependencyManagement>
294300

spring-cloud-sleuth-otel-autoconfigure/pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,11 @@
257257
<artifactId>archunit-junit5</artifactId>
258258
<scope>test</scope>
259259
</dependency>
260-
260+
<dependency>
261+
<groupId>com.google.code.findbugs</groupId>
262+
<artifactId>jsr305</artifactId>
263+
<scope>test</scope>
264+
</dependency>
261265
</dependencies>
262266

263267
<profiles>

tests/otel/spring-cloud-sleuth-instrumentation-messaging-tests/pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@
120120
<groupId>org.springframework.boot</groupId>
121121
<artifactId>spring-boot-starter-websocket</artifactId>
122122
</dependency>
123+
<dependency>
124+
<groupId>com.google.code.findbugs</groupId>
125+
<artifactId>jsr305</artifactId>
126+
</dependency>
123127
</dependencies>
124-
125128
</project>

0 commit comments

Comments
 (0)