Skip to content

[MNG-5665] Advanced Lifecycle Handling #6657

Open

Description

@jira-importer

Robert Scholte opened MNG-5665 and commented

These are a couple of improvements, which will improve the behavior of Maven regarding lifecycles


Sub-tasks:

  • MNG-5666 Divide lifecycle in prePhases, phases and postPhases

  • MNG-5667 Either install or deploy

  • MNG-5885 Optimize execution when phases of same lifecycle are called

  • MNG-6319 Allow for building of the whole project multiple times (with different phases/goals/lifecycles) but with one command

Issue Links:

  • MNG-7991 refactor "aggregator" goal feature

Remote Links:

5 votes, 7 watchers

Activity

  1. jira-importer commented on Sep 5, 2015

    @jira-importer
    Author

    Robert Scholte commented

    Proposal for the lifecycle configuration to support all subtasks:

    <prePhases>
        <phase>validate</phase>
    </prePhases>
    <phases>
        <phase>initialize</phase>
        <phase>generate-sources</phase>
        <phase>process-sources</phase>
        <phase>generate-resources</phase>
        <phase>process-resources</phase>
        <phase>compile</phase>
        <phase>process-classes</phase>
        <phase>generate-test-sources</phase>
        <phase>process-test-sources</phase>
        <phase>generate-test-resources</phase>
        <phase>process-test-resources</phase>
        <phase>test-compile</phase>
        <phase>process-test-classes</phase>
        <phase>test</phase>
        <phase>prepare-package</phase>
        <phase>package</phase>
        <phase finalizer="post-integration-test">pre-integration-test</phase>
        <phase>integration-test</phase>
        <phase>post-integration-test</phase>
        <phase>verify</phase>
    </phases>
    <postPhases>
        <choice>
            <phase>install</phase>
            <phase>deploy</phase>
        </choice>
    </postPhases>
  2. added
    bug
    priority:major
    on Jul 6, 2025
  3. modified the milestones: , 4.x on Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:major

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions