maven-jlink-plugin icon indicating copy to clipboard operation
maven-jlink-plugin copied to clipboard

Add support for optional attach parameter to disable artifact attachment

Open peter277 opened this issue 6 months ago • 1 comments

New feature, improvement proposal

Support for an optional <attach> parameter (defaulting to true) that controls whether the generated runtime image should be attached as a Maven artifact.

In some use it is desirable to build the runtime image without attaching it to the Maven project (e.g. producing jlink image as part of a subsequent jpackage step, or for separate distribution outside maven ecosystem). Having this feature would avoid conflicts during install or deploy phases, and reduce noise in the project's output artifacts.

peter277 avatar Jul 19 '25 08:07 peter277

Implementation submitted as part of pull request #621

peter277 avatar Jul 19 '25 08:07 peter277