This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch MJDEPS-26
in repository https://gitbox.apache.org/repos/asf/maven-jdeps-plugin.git
The following commit(s) were added to refs/heads/MJDEPS-26 by this push:
new 00b33b0 Adjust verify script
00b33b0 is described below
commit 00b33b03e2c617b5939b31483a4fb88bd787fa71
Author: rfscholte <[email protected]>
AuthorDate: Fri Jul 2 13:43:11 2021 +0200
Adjust verify script
---
src/it/unsupported-api_main/verify.groovy | 2 +-
src/it/unsupported-api_test/verify.groovy | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/it/unsupported-api_main/verify.groovy
b/src/it/unsupported-api_main/verify.groovy
index b7aa41b..bee8726 100644
--- a/src/it/unsupported-api_main/verify.groovy
+++ b/src/it/unsupported-api_main/verify.groovy
@@ -20,4 +20,4 @@
def buildLog = new File( basedir, 'build.log' )
-assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/)
}.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK internal API \(.+\)/
+assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/)
}.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK (removed )?internal API\(.+\)/
diff --git a/src/it/unsupported-api_test/verify.groovy
b/src/it/unsupported-api_test/verify.groovy
index 5e97e6c..c512986 100644
--- a/src/it/unsupported-api_test/verify.groovy
+++ b/src/it/unsupported-api_test/verify.groovy
@@ -20,4 +20,4 @@
def buildLog = new File( basedir, 'build.log' )
-assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/)
}.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK internal API \(.+\)/
\ No newline at end of file
+assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/)
}.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK (removed )?internal API\(.+\)/
\ No newline at end of file