[ https://jira.codehaus.org/browse/MNG-5235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290303#comment-290303 ]
Joerg Schaible commented on MNG-5235: ------------------------------------- This is by design. Properties are explicitly not mentioned in [How can a profile be triggered? How does this vary according to the type of profile being used?|http://maven.apache.org/guides/introduction/introduction-to-profiles.html]. Profiles are the first thing evaluated *before* anything else to determine the effective POM. > Profiles not activated according to property values > --------------------------------------------------- > > Key: MNG-5235 > URL: https://jira.codehaus.org/browse/MNG-5235 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Profiles > Affects Versions: 3.0.3 > Environment: Windows 7 > Reporter: Jérôme Verstrynge > Attachments: pom.xml > > > I am trying to activate profiles according to properties defined in the > pom.xml. Unfortunately, the profiles are never activated, no matter what > value is set for the defined property. I double-checked my pom.xml with > existing documentation. > The attached example contains two profiles who echo the property value. These > are never displayed in the output. However, documentation says a profile > should be invoked if the activation section property values are met. > There is also something unclear in the existing documentation. Is it possible > to enable multiple profiles with properties in a single run or is only one > profile selected at most in a single run? > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira