Maven 2 & 3

execution.inherited field is ignored

Details

  • Number of attachments :
    0

Description

I have a plugin with multiple executions, one of them I only want to apply to the parent. I set the execution.inherited=false, the execution is still run on all the children.

Issue Links

Activity

Hide
Imran M Yousuf added a comment -

Unfortunately I see that its still not fixed , how to reopen it?

Show
Imran M Yousuf added a comment - Unfortunately I see that its still not fixed , how to reopen it?
Hide
Benjamin Bentmann added a comment -

Note: The fix that was put in place for this issue is only effective if the children define the plugin as well in their build section. Otherwise, model inheritance follows a short circuit path that simply copies the parent plugin definition, including all executions regardless of their inherited flag.

Show
Benjamin Bentmann added a comment - Note: The fix that was put in place for this issue is only effective if the children define the plugin as well in their build section. Otherwise, model inheritance follows a short circuit path that simply copies the parent plugin definition, including all executions regardless of their inherited flag.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: