maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <>
Subject [jira] Commented: (MPH-79) help:active-profiles does not list active inherited profiles
Date Thu, 24 Mar 2011 08:23:22 GMT


Joerg Schaible commented on MPH-79:

It is required to document the fact that the activation of the profile in the parent is not
inherited. If the parent contains a profile activation like:

    <!-- parent stuff -->

Then the "parent stuff" is active in the child. However, this has no influence on a profile
in the child with same id:

    <!-- child stuff -->

The "child stuff" is not activated. help:active-profiles does currently not list the active
parent profiles, only the ones for settings.xml and the current pom. Therefore help:active-profiles
should not say simply "pom" as source, but the GAV of the pom:

$ mvn help:active-profiles
Active Profiles for Project 'G:A:V': 

The following profiles are active:

 - demo (source: pom in G:A:V)

Note, that if the demo had been activated in settings.xml, the "child stuff" would have been

> help:active-profiles does not list active inherited profiles
> ------------------------------------------------------------
>                 Key: MPH-79
>                 URL:
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
> Windows (XP,2003,2008), Java 1.6
>            Reporter: Xavier D.
>            Priority: Minor
> The code fix for appears to have been removed
and the test now breaks.
> Refer to  for the Testcase zip file.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message