Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.0
-
None
-
None
-
Windows XP 32 bits SP2
Description
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.
Attachments
Issue Links
- duplicates
-
MNG-2275 profiles should be merged when inherited
- Closed