[ http://jira.codehaus.org/browse/MNG-2136?page=comments#action_60503 ] 

Vincent Massol commented on MNG-2136:
-------------------------------------

Thanks John

> 1. If it's always applied, why not put it in the POM?

I fail to undestand this. The reason I have a profiles.xml file is because it 
contains user-specific properties that cannot be shared with other users. 
That's the rasion d'etre of profiles.xml, isn't it?

> 2. If it's active-unless-deactivated, how do you deactivate it?

I don't want to deactivate it. I want jboss4x to be the default profile so that 
there's always a container defined by default and I want to let the user define 
where the containers are installed.

Is that an invalid use case?

If it's valid, then how do I implement it? Or are you simply saying that such a 
use case (which I think it pretty common and simple) is not supported?

> Active profile in profiles.xml prevents active profile in pom.xml to be 
> triggered automatically
> -----------------------------------------------------------------------------------------------
>
>          Key: MNG-2136
>          URL: http://jira.codehaus.org/browse/MNG-2136
>      Project: Maven 2
>         Type: Bug

>   Components: POM
>     Versions: 2.0.3
>     Reporter: Vincent Massol
>     Assignee: John Casey
>     Priority: Blocker
>      Fix For: 2.0.3

>
>
> If there's a profiles.xml with an active profile in it, then the active 
> profile defined in the pom.xml is ignored and not triggered.

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