Skip to content

[MRELEASE-1097] rework plugin output to clarify goal's phases#135

Merged
hboutemy merged 5 commits intomasterfrom
MRELEASE-1097
May 29, 2022
Merged

[MRELEASE-1097] rework plugin output to clarify goal's phases#135
hboutemy merged 5 commits intomasterfrom
MRELEASE-1097

Conversation

@hboutemy
Copy link
Copy Markdown
Member

@hboutemy hboutemy commented May 29, 2022

https://issues.apache.org/jira/browse/MRELEASE-1097

test with

mvn org.apache.maven.plugins:maven-release-plugin:3.0.0-M6-SNAPSHOT:prepare -DdryRun
mvn org.apache.maven.plugins:maven-release-plugin:3.0.0-M6-SNAPSHOT:perform -DdryRun

@hboutemy hboutemy requested a review from michael-o May 29, 2022 14:41
Comment thread maven-release-manager/pom.xml
Comment thread maven-release-plugin/src/site/apt/examples/perform-release.apt.vm
Comment thread maven-release-plugin/src/it/projects/perform/MRELEASE-818/verify.groovy Outdated
// logging arguments may log secrets: should be activated only on dryRun
logInfo( result, " with additional arguments: " + additionalArguments );
logInfo( result, " with additional arguments: "
+ ( additionalArguments == null ? "(none)" : additionalArguments ) );
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stupid question: Can this string be empty?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it happens

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then the test should include null and empty.

Copy link
Copy Markdown
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, ITs pass. Only two open questions left.

@hboutemy hboutemy merged commit 6f9c8b7 into master May 29, 2022
@hboutemy hboutemy deleted the MRELEASE-1097 branch May 29, 2022 19:09
@olamy olamy added the enhancement New feature or request label May 31, 2022
@jira-importer
Copy link
Copy Markdown

Resolve #1277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants