Skip to content

[MNG-5668] The concurrent builder should always run after:xxx phase if before:xxx phase has been started #6656

@jira-importer

Description

@jira-importer

Robert Scholte opened MNG-5668 and commented

Original proposal:

There are right now 3 phases which also have a pre-<phase> and post-<phase>, namely integration-test, clean and site. However, even if one has bound goals to the post-phases, they're probably never called.
When there's an integration-test starting up some server, you'd probably always want to kill it no matter what happens during the IT (let say a NPE).
The proposal is to execute the post-<phase> as the finally block in Java. If you really want to execute only the integration-test without the post, the phase should be marked, e.g. 'mvn [integration-test]', where the brackets lock the phase.


Issue Links:

  • MNG-5839 site target doesn't invoke post-site phase

  • MNG-8052 Define a new lifecycle for Maven 4

  • MNG-6062 post-integration-test phase is executed for goal integration-test
    ("supercedes")

Remote Links:

4 votes, 6 watchers

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions