[ 
http://jira.codehaus.org/browse/MNG-4905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann updated MNG-4905:
-----------------------------------

    Component/s:     (was: Apache or Maven Parent poms)
                 Profiles
                 Inheritance and Interpolation

> Active profiles defined in parent pom are not inherited in children pom
> -----------------------------------------------------------------------
>
>                 Key: MNG-4905
>                 URL: http://jira.codehaus.org/browse/MNG-4905
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Inheritance and Interpolation, Profiles
>    Affects Versions: 3.0
>         Environment: Windows XP 32 bits SP2
>            Reporter: BenoƮt Berthonneau
>
> I've a parent pom which contains 2 profiles based on the OS (eg "windows" and 
> "not windows"). The activation tag i used to determine this and works fine in 
> this pom.
> I've a child pom (eg a module of the parent pom) where I'd like to use the 
> active profile to tune my build goal. But in this child pom I could not get 
> the active profile. If I launch "mvn -P myProfile compile" it works fine 
> everywhere (parent and child).
> I'd like to have the inheritance of the active profiles defined in a parent 
> pom in all its children modules.
> Easy to reproduce but could give a test case if needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to