[ 
https://jira.codehaus.org/browse/MENFORCER-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338279#comment-338279
 ] 

Karl Heinz Marbaise edited comment on MENFORCER-143 at 1/18/14 11:59 AM:
-------------------------------------------------------------------------

Fixed in [r1556667|http://svn.apache.org/r1556667].
Using the second code example of Marciej Kwiecien.
                
      was (Author: khmarbaise):
    Fixed in http://svn.apache.org/r1556667.
Using the second code example of Marciej Kwiecien.
                  
> 'All' propery is not handled by RequireActiveProfile rule
> ---------------------------------------------------------
>
>                 Key: MENFORCER-143
>                 URL: https://jira.codehaus.org/browse/MENFORCER-143
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Maciej Kwiecien
>            Assignee: Karl Heinz Marbaise
>             Fix For: 2.0
>
>         Attachments: HandlingAllPropertyInRequireActiveProfileRule.patch, 
> HandlingAllPropertyInRequireActiveProfileRuleSimplified.patch
>
>
> Although you have rules configured, as follows:
> {code}
> ...
> <configuration> 
>   <rules>
>    <requireActiveProfile>
>     <profiles>dev,selenium</profiles>
>     <all>false</all>
>    </requireActiveProfile>
>  </rules>
>  <fail>true</fail>
> </configuration> 
> {code}
> And you run build : mvn clean install *-Pselenium*
> You still get error:
> {code}
> Supported profiles: selenium,dev
> Profile "dev" is not activated.
> {code}
> Fix is quite simple (tested on tag 1.1.1 and trunk) - please find in 
> attachment.
> Best Regards,
> Maciej

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to