You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2023/10/22 10:58:51 UTC
[maven-compiler-plugin] 01/01: [MCOMPILER-549] Improve log message in case of recompilation - fix jenkins build
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch MCOMPILER-549-fix-jenkins
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
commit cfaf9248b6c79f9fc780832faac3d08877f75009
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Oct 22 12:58:28 2023 +0200
[MCOMPILER-549] Improve log message in case of recompilation - fix jenkins build
---
src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy b/src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy
index baf07f7..8bab980 100644
--- a/src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy
+++ b/src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy
@@ -20,7 +20,9 @@ def log = new File( basedir, 'build.log').text
assert log.count( "[INFO] Toolchain in maven-compiler-plugin: JDK" ) == 1
-assert log.count( "[INFO] Changes detected - recompiling the module!" ) == 3
+assert log.count( "[INFO] Recompiling the module because of changed source code." ) == 1
+assert log.count( "[INFO] Recompiling the module because of added or removed source files." ) == 1
+assert log.count( "[INFO] Recompiling the module because of changed dependency." ) == 1
// major_version: 52 = java8 -> execution id "base-compile"
assert new File( basedir, 'target/classes/com/foo/MyClass.class' ).bytes[7] == 52