[ 
https://issues.apache.org/jira/browse/MNG-7633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated MNG-7633:
---------------------------------
        Parent: MNG-8052
    Issue Type: Sub-task  (was: New Feature)

> Add process-package lifecycle phase
> -----------------------------------
>
>                 Key: MNG-7633
>                 URL: https://issues.apache.org/jira/browse/MNG-7633
>             Project: Maven
>          Issue Type: Sub-task
>          Components: Core
>    Affects Versions: 3.8.6, 4.0.0-alpha-3
>            Reporter: Henning Schmiedehausen
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.0.0-beta-4, 4.0.0
>
>
> There are multiple "post processing" plugins that take a created artifact 
> (such as a jar file) and post-process it. Today, the order of e.g. the jar 
> plugin and the shade plugin is purely determined by the order that they 
> appear in the pom file, making this process brittle.
> The default maven lifecycle has a number of steps with "pre" and "post" 
> phases, e.g. integration-test has "pre-integration-test" and 
> "post-integration-test" or at least "post" phases (e.g. process-sources, 
> process-classes, process-test-classes etc.).
> The proposal is to add a new lifecycle phase for either Maven 3.9.x or Maven 
> 4.0 which is called "process-package", analog to the process phases above 
> that slots in after "package" and before "pre-integration-test".  Running 
> "mvn package" would execute the lifecycle up to and including this phase. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to