Skip to content

[MNG-3508] Allow 'once' configuration item on plugin execution #5407

@jira-importer

Description

@jira-importer

Ittay Dror opened MNG-3508 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions