You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard Ziegler (JIRA)" <ji...@codehaus.org> on 2008/09/17 23:14:48 UTC

[jira] Created: (MANTTASKS-118) profile activation through properties fails

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