elharo opened a new issue, #385:
URL: https://github.com/apache/maven-help-plugin/issues/385
In
src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java:87-94:
if (showPasswords) {
copySettings = settings; // uses original, not a copy
} else {
copySettings = copySettings(settings);
}
writeEffectiveSettings(copySettings, writer); // calls cleanSettings() which
modifies profiles
When -DshowPasswords=true, the original Maven Settings object is used
directly. writeEffectiveSettings -> cleanSettings() then replaces each profile
Properties with a SortedProperties instance (same pattern as bug #381),
mutating the global shared settings object.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]