You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EffectiveSettingsMojo.copySettings() does not deep-copy profiles #388
In src/main/java/org/apache/maven/plugins/help/EffectiveSettingsMojo.java:156-198:
Only servers and proxies are manually deep-copied. The profiles list is shared with the original via the shallow SettingsUtils.copySettings(). Profiles can contain sensitive data (passwords in properties) that would be exposed if the original settings object is later queried expecting the copy to be isolated.
Activity
slachiewicz commentedon Nov 6, 2026
Fixed by #439, which copies profiles with
Profile.clone(); ships in 3.5.3.