apache / apache/maven-changes-plugin

[MCHANGES-412] Allow an action to carry an optional scope

Open
#282 5 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
15
Forks
22
Avg merge
8h 1m
Merged PRs (30d)
3

Description

**[Gary D. Gregory](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=garydgregory)** opened **[MCHANGES-412](https://issues.apache.org/jira/browse/MCHANGES-412?redirect=false)** and commented

In changes.xml, I would like an **action** to carry an optional {**}scope{**}.

This would help users understand what changes affect which part of their projects.

For example:

Fix some bug\
Bump dependency foo from 1 to 2\
Bump commons-parent foo from 1 to 2\
Documented this and that\

The use of the scope documents where the change applies, usually runtime, test, or build, but it could be string maybe.

This somewhat parallels the concept of a scope in a dependency so the value set could be the same as allowed for a dependency scope but that might be too restrictive.

Thoughts?

---
No further details from [MCHANGES-412](https://issues.apache.org/jira/browse/MCHANGES-412?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the changes.xml action examples and trace how action attributes are represented and consumed in the plugin. Define the optional scope behavior and its accepted values, then verify that scoped actions are accepted and their scope is visible to users without breaking actions that omit it.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.