From 2a189b6cd4e5ec59a68ad6cf8be98baf47b980a1 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Sat, 13 Apr 2024 14:21:39 +0200 Subject: [PATCH] Fixed #464 - Make the IT's running for Maven 4 --- .../main/asciidoc/release-notes/_release-notes-0.14.0.adoc | 2 ++ .../src/test/java/com/soebes/itf/examples/goals/GoalsIT.java | 4 ---- .../java/com/soebes/itf/examples/goals/GoalsOnClassIT.java | 5 ++--- .../com/soebes/itf/examples/goals/MetaAnnotationGoalIT.java | 2 -- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/itf-documentation/src/main/asciidoc/release-notes/_release-notes-0.14.0.adoc b/itf-documentation/src/main/asciidoc/release-notes/_release-notes-0.14.0.adoc index e023c15f3b..02efa03624 100644 --- a/itf-documentation/src/main/asciidoc/release-notes/_release-notes-0.14.0.adoc +++ b/itf-documentation/src/main/asciidoc/release-notes/_release-notes-0.14.0.adoc @@ -33,6 +33,7 @@ :issue-456: https://github.com/khmarbaise/maven-it-extension/issues/456[Fixed #456] :issue-458: https://github.com/khmarbaise/maven-it-extension/issues/458[Fixed #458] :issue-463: https://github.com/khmarbaise/maven-it-extension/issues/463[Fixed #463] +:issue-464: https://github.com/khmarbaise/maven-it-extension/issues/464[Fixed #464] :release_0_14_0: https://github.com/khmarbaise/maven-it-extension/milestone/14 @@ -67,6 +68,7 @@ * {issue-455} - Upgrade asciidoctor-maven-plugin 2.2.5 * {issue-456} - Upgrade to Maven 4.0.0 Alpha 12 * {issue-458} - Upgrade to Maven 4.0.0 Alpha 13 + * {issue-464} - Make the IT's running for Maven 4 *Documentation Improvements* diff --git a/itf-examples/src/test/java/com/soebes/itf/examples/goals/GoalsIT.java b/itf-examples/src/test/java/com/soebes/itf/examples/goals/GoalsIT.java index 735ba825ab..b680ab97c8 100644 --- a/itf-examples/src/test/java/com/soebes/itf/examples/goals/GoalsIT.java +++ b/itf-examples/src/test/java/com/soebes/itf/examples/goals/GoalsIT.java @@ -64,9 +64,7 @@ void goal_clean(MavenExecutionResult result) { .info() .containsSubsequence( "Scanning for projects...", - "-------------------< com.soebes.katas:kata-fraction >-------------------", "Building kata-fraction 1.0-SNAPSHOT", - "--------------------------------[ jar ]---------------------------------", "--- clean:3.3.2:clean (default-clean) @ kata-fraction ---" ); assertThat(result) @@ -85,9 +83,7 @@ void goal_clean_compile(MavenExecutionResult result) { .info() .containsSubsequence( "Scanning for projects...", - "-------------------< com.soebes.katas:kata-fraction >-------------------", "Building kata-fraction 1.0-SNAPSHOT", - "--------------------------------[ jar ]---------------------------------", "--- clean:3.3.2:clean (default-clean) @ kata-fraction ---", "--- enforcer:3.4.1:enforce (enforce-maven) @ kata-fraction ---", "--- jacoco:0.8.11:prepare-agent (default) @ kata-fraction ---", diff --git a/itf-examples/src/test/java/com/soebes/itf/examples/goals/GoalsOnClassIT.java b/itf-examples/src/test/java/com/soebes/itf/examples/goals/GoalsOnClassIT.java index 77da1ba3cf..23246fddfa 100644 --- a/itf-examples/src/test/java/com/soebes/itf/examples/goals/GoalsOnClassIT.java +++ b/itf-examples/src/test/java/com/soebes/itf/examples/goals/GoalsOnClassIT.java @@ -40,10 +40,9 @@ void goal_clean(MavenExecutionResult result) { .info() .containsSubsequence( "Scanning for projects...", - "-------------------< com.soebes.katas:kata-fraction >-------------------", "Building kata-fraction 1.0-SNAPSHOT", - "--------------------------------[ jar ]---------------------------------", - "--- clean:3.3.2:clean (default-clean) @ kata-fraction ---" + "--- clean:3.3.2:clean (default-clean) @ kata-fraction ---", + "BUILD SUCCESS" ); assertThat(result) .isSuccessful() diff --git a/itf-examples/src/test/java/com/soebes/itf/examples/goals/MetaAnnotationGoalIT.java b/itf-examples/src/test/java/com/soebes/itf/examples/goals/MetaAnnotationGoalIT.java index f25666ad07..cbf9dd7a30 100644 --- a/itf-examples/src/test/java/com/soebes/itf/examples/goals/MetaAnnotationGoalIT.java +++ b/itf-examples/src/test/java/com/soebes/itf/examples/goals/MetaAnnotationGoalIT.java @@ -39,8 +39,6 @@ void clean_verify(MavenExecutionResult result) { .info() .containsSubsequence( "Scanning for projects...", - "-------------------< com.soebes.katas:kata-fraction >-------------------", - "--------------------------------[ jar ]---------------------------------", "--- clean:3.3.2:clean (default-clean) @ kata-fraction ---", "--- enforcer:3.4.1:enforce (enforce-maven) @ kata-fraction ---", "--- jacoco:0.8.11:prepare-agent (default) @ kata-fraction ---",