Skip to content

Commit bb4afed

Browse files
committed
chore: unbreak build by adding JSR305 implementation
Correction for acaf7cb commit. Relate to #1669
1 parent acaf7cb commit bb4afed

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@
1616
<version>${thymeleaf.togglz.version}</version>
1717
</dependency>
1818

19+
<!--
20+
Without this dependency, compilation fails with:
21+
Warning: unknown enum constant javax.annotation.meta.When.MAYBE
22+
Spring uses this constant and thus this dependency is needed.
23+
Details:
24+
- https://github.com/spring-projects/spring-framework/issues/27183#issuecomment-1174742553
25+
- https://github.com/spring-projects/spring-framework/issues/28797
26+
-->
27+
<dependency>
28+
<groupId>com.google.code.findbugs</groupId>
29+
<artifactId>jsr305</artifactId>
30+
<version>3.0.2</version>
31+
</dependency>
32+
1933
<!-- Required for InternetAddress class -->
2034
<dependency>
2135
<groupId>com.sun.mail</groupId>

0 commit comments

Comments
 (0)