maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <>
Subject [jira] [Updated] (MENFORCER-225) Add rules for mutually-exclusive profiles and banned profiles
Date Wed, 12 Aug 2015 19:00:46 GMT


Karl Heinz Marbaise updated MENFORCER-225:
    Fix Version/s:     (was: 1.4.1)

> Add rules for mutually-exclusive profiles and banned profiles
> -------------------------------------------------------------
>                 Key: MENFORCER-225
>                 URL:
>             Project: Maven Enforcer Plugin
>          Issue Type: New Feature
>          Components: Rule API, Standard Rules
>    Affects Versions: 1.4
>            Reporter: Amardeep Sarkar
>             Fix For: waiting-for-feedback
>         Attachments: enforcer-rules.patch, site.patch
> I wrote 2 new enforces rules:
> * The ability to specify a set of mutually-exclusive profiles (p1,p2:p1,p3 would mean
p1 can't be active with either p2 or p3). This has been discussed on [this thread|]
on SO.
> * The ability to ban profiles (the contrary of {{requireActiveProfile}}). p1, p2 would
mean neither p1 nor p2 can be active for this build.
> Both of these rules support wildcards and consider inherited profiles as well. I've attached
a patch complete with unit test cases. {{mvn clean install}} passes in local. These are built
on v1.4 of the rules.

This message was sent by Atlassian JIRA

View raw message