Maven does not support multiple activted profiles in the same pom.xml at the same time. ---------------------------------------------------------------------------------------
Key: MNG-4300 URL: http://jira.codehaus.org/browse/MNG-4300 Project: Maven 2 Issue Type: Bug Components: Profiles Affects Versions: 2.1.0, 2.1.0-M1, 2.0.10, 2.0.9, 2.0.8, 2.0.7 Environment: windows XP + sun jdk 1.6 Reporter: Shawn Jiang Maven does not support multiple activted profiles in the same pom.xml at the same time. I found another users also met this before. http://n2.nabble.com/Activation-of-multiple-profiles-at-the-same-time-td2496510.html#none Currently, we workaround this by adding an additional parent pom to separate the active profiles into different pom files. But I still think this is a big limitation for profiles of MAVEN. -- 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