apache / apache/maven-enforcer

[MENFORCER-261] We have rule requireActiveProfile, now implement rule BanProfiles

Open
#434 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
161
Forks
180
Avg merge
1d 20m
Merged PRs (30d)
8

Description

**[Mikko Johannes Koivunalho](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mikko.koivunalho)** opened **[MENFORCER-261](https://issues.apache.org/jira/browse/MENFORCER-261?redirect=false)** and commented

Implement rule to ban one or more profiles from being active.

This has been discussed in MENFORCER-225.
But no ticket was created, and the created patch may have become invalid due to age and development.

So here is a new patch.

---

**Attachments:**
- [enforcerBanProfiles.diff](https://issues.apache.org/jira/secure/attachment/12847509/enforcerBanProfiles.diff) (_14.55 kB_)

**Remote Links:**
- [GitHub Pull Request #21
](https://github.com/apache/maven-enforcer/pull/21)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing requireActiveProfile rule, then inspect the attached enforcerBanProfiles.diff and the linked GitHub pull request #21. Done means a BanProfiles rule can ban one or more profiles from being active, with behavior aligned to the prior discussion in MENFORCER-225.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.