You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2023/04/04 12:28:29 UTC
[maven-pmd-plugin] 01/01: MPMD-367 don't fail on unrelated warnings
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch MPMD-367
in repository https://gitbox.apache.org/repos/asf/maven-pmd-plugin.git
commit 493722d5a8ff260980d04d1eaed81090d1b2acf4
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Tue Apr 4 08:28:17 2023 -0400
MPMD-367 don't fail on unrelated warnings
---
src/it/MPMD-270-325-JDK11/verify.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/it/MPMD-270-325-JDK11/verify.groovy b/src/it/MPMD-270-325-JDK11/verify.groovy
index ebb6a94..2846ad3 100644
--- a/src/it/MPMD-270-325-JDK11/verify.groovy
+++ b/src/it/MPMD-270-325-JDK11/verify.groovy
@@ -21,4 +21,4 @@
File buildLog = new File( basedir, 'build.log' )
assert buildLog.exists()
assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' )
-assert !buildLog.text.contains( '[WARNING]' )
+assert !buildLog.text.contains( '[WARNING] PMD' )