{"id":20648158,"url":"https://github.com/akman/jlink-maven-plugin","last_synced_at":"2026-01-30T19:03:36.897Z","repository":{"id":41937295,"uuid":"265060374","full_name":"Akman/jlink-maven-plugin","owner":"Akman","description":"The JLink Maven Plugin lets you create a custom runtime image with the jlink tool introduced in Java 9","archived":false,"fork":false,"pushed_at":"2024-10-28T22:14:04.000Z","size":3884,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T05:23:32.605Z","etag":null,"topics":["java","jlink","maven","maven-plugin"],"latest_commit_sha":null,"homepage":"https://akman.github.io/jlink-maven-plugin","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-18T20:58:06.000Z","updated_at":"2024-10-28T22:14:08.000Z","dependencies_parsed_at":"2024-10-27T00:10:37.564Z","dependency_job_id":null,"html_url":"https://github.com/Akman/jlink-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akman%2Fjlink-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akman%2Fjlink-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akman%2Fjlink-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akman%2Fjlink-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akman","download_url":"https://codeload.github.com/Akman/jlink-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249250973,"owners_count":21237965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","jlink","maven","maven-plugin"],"created_at":"2024-11-16T17:06:39.508Z","updated_at":"2026-01-30T19:03:36.840Z","avatar_url":"https://github.com/Akman.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JLink Maven Plugin v0.1.11\n\n[![Build Status][travis_badge]][travis_href]\n[![Maven Central][central_badge]][central_href]\n[![License][license_badge]][license_href]\n\nThe jlink maven plugin lets you create a custom runtime image with\nthe jlink tool introduced in Java 9.\n\nThe main idea is to avoid being tied to project artifacts and allow the user\nto fully control the process of creating an image. However, it is possible,\nof course, to customize the process using project artifacts.\n\n[The detailed documentation for this plugin is available here.][goals]\n\n## Goals\n\nThis plugin has two [goals][goals]:\n\n- [jlink:jlink][mojo_jlink] is not bound to any phase within the Maven\nlifecycle and is therefore is not automatically executed, therefore\nthe required phase must be specified explicitly.\n\n- [jlink:help][mojo_help] display help information on the plugin.\n\nTo create a custom runtime image manually you need only to execute:\n\n```console\nmvn jlink:jlink\n```\n\nIt will not fork (spawn a parallel) an alternate build lifecycle and\nwill execute the *jlink* goal immediately.\n\nTo display parameter details execute:\n\n```console\nmvn jlink:help -Ddetail=true\n```\n\n## Usage\n\nAdd the plugin to your pom:\n\n```xml\n  \u003cproject\u003e\n    ...\n    \u003cbuild\u003e\n      \u003cpluginManagement\u003e\n        \u003cplugins\u003e\n          ...\n          \u003cplugin\u003e\n            \u003cgroupId\u003ecom.github.akman\u003c/groupId\u003e\n            \u003cartifactId\u003ejlink-maven-plugin\u003c/artifactId\u003e\n            \u003cversion\u003e0.1.11\u003c/version\u003e\n          \u003c/plugin\u003e\n          ...\n        \u003c/plugins\u003e\n      \u003c/pluginManagement\u003e\n    \u003c/build\u003e\n    ...\n    \u003cplugins\u003e\n      ...\n      \u003cplugin\u003e\n        \u003cgroupId\u003ecom.github.akman\u003c/groupId\u003e\n        \u003cartifactId\u003ejlink-maven-plugin\u003c/artifactId\u003e\n        \u003cexecutions\u003e\n          \u003cexecution\u003e\n            \u003cphase\u003everify\u003c/phase\u003e\n            \u003cgoals\u003e\n              \u003cgoal\u003ejlink\u003c/goal\u003e\n            \u003c/goals\u003e\n            \u003cconfiguration\u003e\n              \u003c!-- put your configurations here --\u003e\n            \u003c/configuration\u003e\n          \u003c/execution\u003e\n        \u003c/executions\u003e\n      \u003c/plugin\u003e\n      ...\n    \u003c/plugins\u003e\n    ...\n  \u003c/project\u003e\n```\n\nIf you want to use snapshot versions of the plugin connect the snapshot\nrepository in your pom.xml.\n\n```xml\n  \u003cproject\u003e\n    ...\n    \u003cpluginRepositories\u003e\n      \u003cpluginRepository\u003e\n        \u003cid\u003eossrh\u003c/id\u003e\n        \u003cname\u003eOSS Sonatype Snapshots Repository\u003c/name\u003e\n        \u003curl\u003ehttps://oss.sonatype.org/content/repositories/snapshots\u003c/url\u003e\n        \u003clayout\u003edefault\u003c/layout\u003e\n        \u003csnapshots\u003e\n          \u003cenabled\u003etrue\u003c/enabled\u003e\n        \u003c/snapshots\u003e\n        \u003creleases\u003e\n          \u003cenabled\u003efalse\u003c/enabled\u003e\n        \u003c/releases\u003e\n      \u003c/pluginRepository\u003e\n    \u003c/pluginRepositories\u003e\n    ...\n  \u003c/project\u003e\n```\n\nAnd then build your project, *jlink* starts automatically:\n\n```console\nmvn clean verify\n```\n\n## Links\n\n[The JLink tool official description.][jlink]\n\n[JEP-220 Modular runtime images.][jep220]\n\n## Pull request\n\nPull request template: [.github/pull_request_template.md][pull_request].\n\n[travis_badge]: https://app.travis-ci.com/akman/jlink-maven-plugin.svg?branch=v0.1.11\n[travis_href]: https://app.travis-ci.com/akman/jlink-maven-plugin\n[central_badge]: https://img.shields.io/maven-central/v/com.github.akman/jlink-maven-plugin\n[central_href]: https://search.maven.org/artifact/com.github.akman/jlink-maven-plugin\n[license_badge]: https://img.shields.io/github/license/akman/jlink-maven-plugin.svg\n[license_href]: https://github.com/akman/jlink-maven-plugin/blob/master/LICENSE\n[goals]: https://akman.github.io/jlink-maven-plugin/plugin-info.html\n[mojo_jlink]: https://akman.github.io/jlink-maven-plugin/jlink-mojo.html\n[mojo_help]: https://akman.github.io/jlink-maven-plugin/help-mojo.html\n[jlink]: https://docs.oracle.com/en/java/javase/14/docs/specs/man/jlink.html\n[jep220]: http://openjdk.java.net/jeps/220\n[pull_request]: https://github.com/akman/jlink-maven-plugin/blob/master/.github/pull_request_template.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakman%2Fjlink-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakman%2Fjlink-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakman%2Fjlink-maven-plugin/lists"}