ActiveByDefault does not work properly
--------------------------------------

                 Key: MNG-3777
                 URL: http://jira.codehaus.org/browse/MNG-3777
             Project: Maven 2
          Issue Type: Bug
          Components: Profiles
    Affects Versions: 2.0.8
            Reporter: Christopher Roland B. Basmayor


I've been working for profiles and it appears that the configuration below does 
not work too well. Profile env-prod is invoked even when the property 'env' 
with value 'dev' is provided.

        <profiles>
                <profile>
                        <id>env-dev</id>
                        <activation>
                                <property>
                                        <name>env</name>
                                        <value>dev</value>
                                </property>
                        </activation>
                        <properties>
                                [...]
                        </properties>
                </profile>
                <profile>
                        <id>env-prod</id>
                        <activation>
                                <activeByDefault>true</activeByDefault>
                        </activation>
                        <properties>
                                [...]
                        </properties>
                </profile>
        </profiles>

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