You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christoph Läubrich (Jira)" <ji...@apache.org> on 2025/02/03 07:46:00 UTC
[jira] [Created] (MNG-8556) Add a new "assemble" phase to the default life-cycle
Christoph Läubrich created MNG-8556:
---------------------------------------
Summary: Add a new "assemble" phase to the default life-cycle
Key: MNG-8556
URL: https://issues.apache.org/jira/browse/MNG-8556
Project: Maven
Issue Type: Improvement
Reporter: Christoph Läubrich
I often encounter the case that I want to do something after "package" is done, e.g build a zip with the jar+all dependencies.
This is currently already possible, but requires some care (especially when the pom / parent is modified later) to make sure the mojo is executed at the right time.
I therefore thing it would be very useful to have a {{post-package}} similar to {{prepare-package}} , using {{pre-integration-test}} is possible but has the drawback that it looks semantically wrong and is only executed when I do a mvn verify (in contrast to mvn package).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)