Skip to content

Commit 1aafeae

Browse files
Merge pull request #221 from package-url/scratch/fix-errorprone-generated
fix: do not report ErrorProne results on generated-test-sources
2 parents 9b9cde4 + 058fb32 commit 1aafeae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
<!-- Error Prone plugin -->
326326
<arg>-XDcompilePolicy=simple</arg>
327327
<arg>--should-stop=ifError=FLOW</arg>
328-
<arg>-Xplugin:ErrorProne</arg>
328+
<arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/generated-test-sources/.*</arg>
329329
<!--
330330
~ Due to a bug in IntelliJ IDEA, annotation processing MUST be enabled.
331331
~ Failing to do so will cause IDEA to ignore the annotation processor path

0 commit comments

Comments
 (0)