Skip to content

Commit

Permalink
Fix IT
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Dec 10, 2022
1 parent 738df34 commit 82b3374
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ void cleanInstall() throws IOException, InterruptedException {
mojoStartedLogMessage(props, "maven-clean-plugin", "clean", "default-clean"),
mojoStartedLogMessage(props, "maven-resources-plugin", "resources", "default-resources"),
mojoStartedLogMessage(props, "maven-compiler-plugin", "compile", "default-compile"),
mojoStartedLogMessage(
props, "maven-resources-plugin", "testResources", "default-testResources"),
mojoStartedLogMessage(props, "maven-resources-plugin", "testResources", "default-testResources"),
mojoStartedLogMessage(props, "maven-compiler-plugin", "testCompile", "default-testCompile"),
mojoStartedLogMessage(props, "maven-surefire-plugin", "test", "default-test"),
mojoStartedLogMessage(props, "maven-install-plugin", "install", "default-install"),
Expand All @@ -90,7 +89,9 @@ protected void assertJVM(TestClientOutput o, Properties props) {
}

String mojoStartedLogMessage(Properties props, String pluginArtifactId, String mojo, String executionId) {
return "\\Q--- " + pluginArtifactId + ":" + props.getProperty(pluginArtifactId + ".version") + ":" + mojo + " ("
return "\\Q--- "
+ pluginArtifactId.replace("maven-", "") .replace("-plugin", "")
+ ":" + props.getProperty(pluginArtifactId + ".version") + ":" + mojo + " ("
+ executionId + ") @ single-module ---\\E";
}
}

0 comments on commit 82b3374

Please sign in to comment.