[MRELEASE-282] Replace the current 'arguments' parameter with specialized version for each mojo (eg. 'argumentsRelease')
- Dominant language
- Java
- Stars
- 128
- Forks
- 145
- Avg merge
- 7h 7m
- Merged PRs (30d)
- 3
Description
**[Marcel Schutte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mschutte)** opened **[MRELEASE-282](https://issues.apache.org/jira/browse/MRELEASE-282?redirect=false)** and commented
There is currently no way to configure the release:prepare and release:perform mojos with different values for the 'arguments' parameter. Brett said the solution should be to use unique names for the parameters [1] [2].
I am aware that it is possible to use profiles for this. However, I want to declare the default behavior in my pom, not leave it to the user to provide the correct profile.
There is a workaround available [3], however, this means you have to duplicate the default values for \ and
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the release:prepare and release:perform mojos and inspect how their shared `arguments` parameter, `goals`, and `preparationGoals` are configured. Compare the proposed specialized parameter names with the profile workaround and MRELEASE-59 context. Done means each mojo can receive its own arguments value while preserving the default goals without duplicating them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100