elharo opened a new issue, #387:
URL: https://github.com/apache/maven-help-plugin/issues/387

   In src/main/java/org/apache/maven/plugins/help/AllProfilesMojo.java:153-156:
   
   if (project.getActiveProfiles() != null) {
       for (Profile profile : project.getActiveProfiles()) {
           activeProfiles.put(profile.getId(), profile);
       }
   }
   project = project.getParent();  // walks up to parent
   
   When the loop reaches a parent POM, project.getActiveProfiles() returns 
profiles active in the parent build context. These may not be active for the 
child project (different JDK, OS, properties). The output can incorrectly mark 
parent profiles as active when they do not apply to the child.


-- 
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]

Reply via email to