You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2022/05/29 17:49:54 UTC

[maven-release] branch MRELEASE-1097 updated: [MRELEASE-1097] display "(none)" in case of no value

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

hboutemy pushed a commit to branch MRELEASE-1097
in repository https://gitbox.apache.org/repos/asf/maven-release.git


The following commit(s) were added to refs/heads/MRELEASE-1097 by this push:
     new 134a1bed [MRELEASE-1097] display "(none)" in case of no value
134a1bed is described below

commit 134a1bed7cc67ee8dffde0da4007d414d0931ec4
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun May 29 19:49:51 2022 +0200

    [MRELEASE-1097] display "(none)" in case of no value
---
 .../org/apache/maven/shared/release/phase/AbstractRunGoalsPhase.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRunGoalsPhase.java b/maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRunGoalsPhase.java
index ce5df05c..9b8bdcac 100644
--- a/maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRunGoalsPhase.java
+++ b/maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRunGoalsPhase.java
@@ -77,7 +77,7 @@ public abstract class AbstractRunGoalsPhase
                 {
                     // logging arguments may log secrets: should be activated only on dryRun
                     logInfo( result, "    with additional arguments: "
-                        + ( additionalArguments == null ? "" : additionalArguments ) );
+                        + ( additionalArguments == null ? "(none)" : additionalArguments ) );
                 }
 
                 MavenExecutor mavenExecutor = mavenExecutors.get( releaseEnvironment.getMavenExecutorId() );