@@ -981,6 +981,41 @@ under the License.
981981 <versions .junit5>5.14.0</versions .junit5>
982982 <version .maven-shared-resources>6</version .maven-shared-resources>
983983 <project .build.outputTimestamp>2025-06-14T08:21:17Z</project .build.outputTimestamp>
984+ <error-prone .configuration-args>
985+ -Xep:AmbiguousJsonCreator:ERROR
986+ -Xep:AssertJNullnessAssertion:ERROR
987+ -Xep:AutowiredConstructor:ERROR
988+ -Xep:CanonicalAnnotationSyntax:OFF
989+ -Xep:CollectorMutability:ERROR
990+ -Xep:ConstantNaming:OFF
991+ -Xep:DirectReturn:OFF
992+ -Xep:EmptyMethod:ERROR
993+ -Xep:ExplicitArgumentEnumeration:ERROR
994+ -Xep:ExplicitEnumOrdering:ERROR
995+ -Xep:FormatStringConcatenation:OFF
996+ -Xep:IdentityConversion:ERROR
997+ -Xep:ImmutablesSortedSetComparator:ERROR
998+ -Xep:IsInstanceLambdaUsage:OFF
999+ -Xep:LexicographicalAnnotationListing:OFF
1000+ -Xep:LexicographicalAnnotationListing:OFF
1001+ -Xep:MockitoMockClassReference:OFF
1002+ -Xep:MockitoStubbing:OFF
1003+ -Xep:NestedOptionals:ERROR
1004+ -Xep:PrimitiveComparison:ERROR
1005+ -Xep:RedundantStringConversion:OFF
1006+ -Xep:RedundantStringEscape:ERROR
1007+ -Xep:SelfAssignment:OFF
1008+ -Xep:Slf4jLogStatement:ERROR
1009+ -Xep:StringJoin:ERROR
1010+ -Xep:StringJoining:ERROR
1011+ -Xep:TimeZoneUsage:OFF
1012+ -Xep:UnusedVariable:ERROR
1013+ -XepDisableAllChecks
1014+ -XepDisableWarningsInGeneratedCode
1015+ -XepExcludedPaths:.*/generated-sources/.*,.*/impl/cache/Cache.java
1016+ <!-- -XepPatchChecks:RedundantStringConversion-->
1017+ <!-- -XepPatchLocation:IN_PLACE-->
1018+ </error-prone .configuration-args>
9841019 </properties >
9851020
9861021 <dependencyManagement >
@@ -1039,6 +1074,23 @@ under the License.
10391074 <configuration >
10401075 <proc >${maven.compiler.proc} </proc >
10411076 <showDeprecation >${maven.compiler.showDeprecation} </showDeprecation >
1077+ <annotationProcessorPaths >
1078+ <path >
1079+ <groupId >com.google.errorprone</groupId >
1080+ <artifactId >error_prone_core</artifactId >
1081+ <version >2.42.0</version >
1082+ </path >
1083+ <path >
1084+ <groupId >tech.picnic.error-prone-support</groupId >
1085+ <artifactId >error-prone-contrib</artifactId >
1086+ <version >0.25.0</version >
1087+ </path >
1088+ </annotationProcessorPaths >
1089+ <compilerArgs >
1090+ <arg >--should-stop=ifError=FLOW</arg >
1091+ <arg >-XDcompilePolicy=simple</arg >
1092+ <arg >-Xplugin:ErrorProne ${error-prone.configuration-args} </arg >
1093+ </compilerArgs >
10421094 </configuration >
10431095 </plugin >
10441096 <plugin >
0 commit comments