{"id":23042946,"url":"https://github.com/akman/jpackage-maven-plugin","last_synced_at":"2025-04-09T22:19:39.245Z","repository":{"id":41932177,"uuid":"275229338","full_name":"Akman/jpackage-maven-plugin","owner":"Akman","description":"The jpackage maven plugin lets you create a custom runtime image/installer with the jpackage tool introduced in Java 14.","archived":false,"fork":false,"pushed_at":"2024-10-28T22:15:43.000Z","size":2725,"stargazers_count":54,"open_issues_count":16,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-02T20:10:02.960Z","etag":null,"topics":["java","jpackage","maven","maven-plugin"],"latest_commit_sha":null,"homepage":"https://akman.github.io/jpackage-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-06-26T19:10:45.000Z","updated_at":"2025-03-22T06:58:04.000Z","dependencies_parsed_at":"2024-12-15T20:37:59.051Z","dependency_job_id":"10621aa1-f24e-42dd-84c4-aa0236450a31","html_url":"https://github.com/Akman/jpackage-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akman%2Fjpackage-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akman%2Fjpackage-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akman%2Fjpackage-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akman%2Fjpackage-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akman","download_url":"https://codeload.github.com/Akman/jpackage-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119577,"owners_count":21050794,"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","jpackage","maven","maven-plugin"],"created_at":"2024-12-15T20:37:50.776Z","updated_at":"2025-04-09T22:19:39.224Z","avatar_url":"https://github.com/Akman.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JPackage Maven Plugin v0.1.5\n\n[![Build Status][travis_badge]][travis_href]\n[![Maven Central][central_badge]][central_href]\n[![License][license_badge]][license_href]\n\nThe jpackage maven plugin lets you create a custom runtime image/installer with\nthe jpackage tool introduced in Java 14.\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/installer.\n\n[The detailed documentation for this plugin is available here.][goals]\n\n## Goals\n\nThis plugin has two [goals][goals]:\n\n- [jpackage:jpackage][mojo_jpackage] 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- [jpackage:help][mojo_help] display help information on the plugin.\n\nTo create a custom runtime image/installer manually you need only to execute:\n\n```console\nmvn jpackage:jpackage\n```\n\nIt will not fork (spawn a parallel) an alternate build lifecycle and\nwill execute the *jpackage* goal immediately.\n\nTo display parameter details execute:\n\n```console\nmvn jpackage: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\u003ejpackage-maven-plugin\u003c/artifactId\u003e\n            \u003cversion\u003e0.1.5\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\u003ejpackage-maven-plugin\u003c/artifactId\u003e\n        \u003cexecutions\u003e\n          \u003cexecution\u003e\n            \u003cphase\u003everify\u003c/phase\u003e\n            \u003cgoals\u003e\n              \u003cgoal\u003ejpackage\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, *jpackage* starts automatically:\n\n```console\nmvn clean verify\n```\n\n## Links\n\n[The JPackage tool official description.][jpackage]\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/jpackage-maven-plugin.svg?branch=v0.1.5\n[travis_href]: https://app.travis-ci.com/akman/jpackage-maven-plugin\n[central_badge]: https://img.shields.io/maven-central/v/com.github.akman/jpackage-maven-plugin\n[central_href]: https://search.maven.org/artifact/com.github.akman/jpackage-maven-plugin\n[license_badge]: https://img.shields.io/github/license/akman/jpackage-maven-plugin.svg\n[license_href]: https://github.com/akman/jpackage-maven-plugin/blob/master/LICENSE\n[goals]: https://akman.github.io/jpackage-maven-plugin/plugin-info.html\n[mojo_jpackage]: https://akman.github.io/jpackage-maven-plugin/jpackage-mojo.html\n[mojo_help]: https://akman.github.io/jpackage-maven-plugin/help-mojo.html\n[jpackage]: https://docs.oracle.com/en/java/javase/23/jpackage\n[pull_request]: https://github.com/akman/jpackage-maven-plugin/blob/master/.github/pull_request_template.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakman%2Fjpackage-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakman%2Fjpackage-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakman%2Fjpackage-maven-plugin/lists"}