elharo opened a new issue, #395:
URL: https://github.com/apache/maven-help-plugin/issues/395
In src/main/java/org/apache/maven/plugins/help/AllProfilesMojo.java:167-173:
private void addSettingsProfiles(Map<String, Profile> allProfiles) {
for (org.apache.maven.settings.Profile settingsProfile :
settingsProfiles) {
Profile profile =
SettingsUtils.convertFromSettingsProfile(settingsProfile);
allProfiles.put(profile.getId(), profile);
}
}
addSettingsProfiles() only populates allProfilesByIds, never
activeProfilesByIds. Active detection relies on project.getActiveProfiles()
which may or may not include converted settings profiles depending on Maven
version and activation mechanisms. This can under-report active settings
profiles.
--
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]