maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Ziegler (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MANTTASKS-118) profile activation through properties fails
Date Wed, 17 Sep 2008 21:14:48 GMT
profile activation through properties fails
-------------------------------------------

                 Key: MANTTASKS-118
                 URL: http://jira.codehaus.org/browse/MANTTASKS-118
             Project: Maven 2.x Ant Tasks
          Issue Type: Bug
          Components: dependencies task
    Affects Versions: 2.0.9
            Reporter: Richard Ziegler


When using <artifact:pom file="pom.xml" ... , where the pom.xml has profiles with <activation>
sections, the profiles are activated properly in the cases of:
* <activeByDefault>
* <jdk>
* <os>
* <file>

However, profiles that should be made active through <property><name>foo</name><value>true</value></property>,
are not made active, even when invoking ant with -Dfoo=true.

Ideally property based activation would work with all ant properties, but the basic case is
to support those explicitly set on the command line.

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

        

Mime
View raw message