Skip to content

Commit 9c787da

Browse files
rickienrmancuso
authored andcommitted
Issue #14137: Disable Error Prone Support checks
1 parent 7eac9b6 commit 9c787da

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

pom.xml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,20 @@
237237
<error-prone.version>2.24.0</error-prone.version>
238238
<error-prone-support.version>0.14.0</error-prone-support.version>
239239
<doxia.version>1.12.0</doxia.version>
240+
<error-prone.configuration-args>
241+
<!-- Reason at https://github.com/checkstyle/checkstyle/issues/8252. -->
242+
-Xep:JUnitClassModifiers:OFF
243+
<!-- Reason at https://github.com/checkstyle/checkstyle/issues/8252. -->
244+
-Xep:JUnitMethodDeclaration:OFF
245+
<!-- We prefer different style of writing tests. -->
246+
-Xep:JUnitValueSource:OFF
247+
<!-- Until https://github.com/checkstyle/checkstyle/issues/14194. -->
248+
-Xep:LexicographicalAnnotationListing:OFF
249+
<!-- This check is not finalized. -->
250+
-Xep:MethodReferenceUsage:OFF
251+
<!-- We prefer to qualify all static method calls with class name. -->
252+
-Xep:StaticImport:OFF
253+
</error-prone.configuration-args>
240254
</properties>
241255

242256
<dependencies>
@@ -2380,7 +2394,7 @@
23802394
<arg>-Xpkginfo:always</arg>
23812395
<arg>-XDcompilePolicy=simple</arg>
23822396
<arg>
2383-
-Xplugin:ErrorProne
2397+
-Xplugin:ErrorProne ${error-prone.configuration-args}
23842398
</arg>
23852399
</compilerArgs>
23862400
<annotationProcessorPaths>
@@ -2438,7 +2452,8 @@
24382452
<arg>-XDcompilePolicy=simple</arg>
24392453
<arg>
24402454
-Xplugin:ErrorProne \
2441-
-XepExcludedPaths:.*[\\/]resources[\\/].*
2455+
-XepExcludedPaths:.*[\\/]resources[\\/].* \
2456+
${error-prone.configuration-args}
24422457
</arg>
24432458
</compilerArgs>
24442459
<annotationProcessorPaths>
@@ -2451,7 +2466,7 @@
24512466
<groupId>tech.picnic.error-prone-support</groupId>
24522467
<artifactId>error-prone-contrib</artifactId>
24532468
<version>${error-prone-support.version}</version>
2454-
</path>b
2469+
</path>
24552470
</annotationProcessorPaths>
24562471
</configuration>
24572472
</execution>

0 commit comments

Comments
 (0)