You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2023/02/13 19:17:12 UTC

[maven-mvnd] branch mvnd-0.10.x updated: Fix SingleModule test

This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch mvnd-0.10.x
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git


The following commit(s) were added to refs/heads/mvnd-0.10.x by this push:
     new c65f9fe8 Fix SingleModule test
c65f9fe8 is described below

commit c65f9fe869c902cf03f859f383b2bbfe2211ff8b
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon Feb 13 20:16:59 2023 +0100

    Fix SingleModule test
---
 .../src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java
index a8be5941..87e65955 100644
--- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java
+++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java
@@ -92,7 +92,9 @@ public class SingleModuleNativeIT {
     }
 
     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";
     }
 }