[MNG-3508] Allow 'once' configuration item on plugin execution
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Ittay Dror](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ittayd)** opened **[MNG-3508](https://issues.apache.org/jira/browse/MNG-3508?redirect=false)** and commented
Scenario:
- parent pom defines modules A, B
- it also defines a plugin with some execution
- when it runs, the plugin runs 3 times (for parent, A, B)
Now, I can set 'inherited' to false, but then if I just run 'A', the plugin won't execute.
What I'd like is to be able to configure the execution to run 'once' in the lifecycle. This is useful mainly for plugins that do some kind of setup, initialization or validation, which in many cases need to be done once per execution.
---
2 votes, 7 watchers
Contributor guide
Assessment
This issue has not been assessed yet.