[MNG-8093] Support profile id alias(es)
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[MNG-8093](https://issues.apache.org/jira/browse/MNG-8093?redirect=false)** and commented
Currently each profile may only have exactly one id which is used to enable/disable it on CLI (https://maven.apache.org/pom.html#Profiles).
For certain edge cases it would be useful to define aliases (similar to https://maven.apache.org/ref/3.9.6/maven-plugin-api/plugin.html#parameter). So that multiple different ids can be used to activate the same profile. This requires a new POM schema version though.
---
No further details from [MNG-8093](https://issues.apache.org/jira/browse/MNG-8093?redirect=false)
Contributor guide
Research direction
Start by reviewing Maven's POM schema and the profile activation behavior described in the issue, then trace the CLI handling for profile IDs. Compare the requested aliases with the existing plugin parameter alias model. Done means one profile can be activated through multiple IDs and the required POM schema version supports that representation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100