[ 
http://jira.codehaus.org/browse/MNG-4846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maik Richey reopened MNG-4846:
------------------------------


see my last comment

> Profile activated accidentially
> -------------------------------
>
>                 Key: MNG-4846
>                 URL: http://jira.codehaus.org/browse/MNG-4846
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.2.1
>            Reporter: Maik Richey
>            Assignee: Benjamin Bentmann
>            Priority: Critical
>
> When you define a profile activated like
> {code}
>   ...
>   <profiles>
>     <profile>
>       <id>someCase</id>
>       <activation>
>         <activeByDefault>false</activeByDefault>
>         <property>
>           <name>somePropertyName</name>
>           <value>!Value</value>
>         </property>
>       </activation>
>       ...
>     </profile>
>   </profiles>
>   ...
> {code}
> this profile will also be activated when no property/profile is defined on 
> the command line. I expected that profile beeing activated only when you 
> supply -DsomePropertyName=NotTheValue.

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