You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/07/01 15:37:03 UTC

[I] AllProfilesMojo settings profiles never tracked for active status [maven-help-plugin]

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: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AllProfilesMojo settings profiles never tracked for active status [maven-help-plugin]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz closed issue #395: AllProfilesMojo settings profiles never tracked for active status
URL: https://github.com/apache/maven-help-plugin/issues/395


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org