{"id":17113705,"url":"https://github.com/federkasten/appbundle-maven-plugin","last_synced_at":"2025-12-16T20:24:21.541Z","repository":{"id":13314112,"uuid":"16000663","full_name":"federkasten/appbundle-maven-plugin","owner":"federkasten","description":"Maven plugin that creates an Application Bundle for OS X containing all your project dependencies and the necessary metadata","archived":false,"fork":false,"pushed_at":"2021-10-10T09:14:29.000Z","size":142,"stargazers_count":180,"open_issues_count":31,"forks_count":57,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-09T15:07:16.350Z","etag":null,"topics":["apple","java","jvm","maven-plugin","oracle"],"latest_commit_sha":null,"homepage":"","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/federkasten.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}},"created_at":"2014-01-17T13:44:12.000Z","updated_at":"2025-01-25T01:49:57.000Z","dependencies_parsed_at":"2022-07-18T09:09:01.005Z","dependency_job_id":null,"html_url":"https://github.com/federkasten/appbundle-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federkasten%2Fappbundle-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federkasten%2Fappbundle-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federkasten%2Fappbundle-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/federkasten%2Fappbundle-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/federkasten","download_url":"https://codeload.github.com/federkasten/appbundle-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055284,"owners_count":21040157,"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":["apple","java","jvm","maven-plugin","oracle"],"created_at":"2024-10-14T17:11:50.327Z","updated_at":"2025-12-16T20:24:16.461Z","avatar_url":"https://github.com/federkasten.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# appbundle-maven-plugin\n\nMaven plugin that creates an Application Bundle for OS X containing all your project dependencies and the necessary metadata.\n\n```xml\n\u003cplugin\u003e\n  \u003cgroupId\u003esh.tak.appbundler\u003c/groupId\u003e\n  \u003cartifactId\u003eappbundle-maven-plugin\u003c/artifactId\u003e\n  \u003cversion\u003e1.2.0\u003c/version\u003e\n  \u003cconfiguration\u003e\n    \u003cmainClass\u003eyour.app.MainClass\u003c/mainClass\u003e\n  \u003c/configuration\u003e\n  \u003cexecutions\u003e\n    \u003cexecution\u003e\n      \u003cphase\u003epackage\u003c/phase\u003e\n      \u003cgoals\u003e\n        \u003cgoal\u003ebundle\u003c/goal\u003e\n      \u003c/goals\u003e\n    \u003c/execution\u003e\n  \u003c/executions\u003e\n\u003c/plugin\u003e\n```\n\nPackage with following command,\n\n```shell\nmvn package appbundle:bundle\n```\n\n## Use Custom Info.plist and Icon\n\nPut your custom Info.plist and Icon.icns under your maven resource paths (`src/main/resources` on default configuration).\n\nConfigure `pom.xml` like below,\n\n```xml\n\u003cconfiguration\u003e\n   \u003cmainClass\u003eyour.app.MainClass\u003c/mainClass\u003e\n   \u003cdictionaryFile\u003eYourCustomInfo.plist\u003c/dictionaryFile\u003e\n   \u003ciconFile\u003eCustomIncon.icns\u003c/iconFile\u003e\n\u003c/configuration\u003e\n```\n\n## Embedd Java Runtime Environment\n\nLocate the JRE or JDK on your Mac (`/Library/Java/JavaVirtualMachines/` on default configuration).\n\nConfigure `pom.xml` like below,\n\n```xml\n\u003cconfiguration\u003e\n   \u003cmainClass\u003eyour.app.MainClass\u003c/mainClass\u003e\n   \u003cjrePath\u003e/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk\u003c/jrePath\u003e\n\u003c/configuration\u003e\n```\n\n## How to create DMG\n\nConfigure `pom.xml` like below,\n\n```xml\n\u003cconfiguration\u003e\n   \u003cmainClass\u003eyour.app.MainClass\u003c/mainClass\u003e\n   \u003cgenerateDiskImageFile\u003etrue\u003c/generateDiskImageFile\u003e\n\u003c/configuration\u003e\n```\n\n## About this plugin\n\nAs you may know, Apple has dropped Java development from OS X excluding security patches.\n\nmojo's [osxappbundle-maven-plugin](http://mojo.codehaus.org/osxappbundle-maven-plugin/) depends on Apple's Java launcher, so it does not support Java version 7 and future.\n\nOracle's [Java Application Bundler](https://java.net/projects/appbundler) supports other Java runtime (including Java 7, 8 and more), but it does not support maven.\n\nI merged both and fix to work as a maven plugin that supports latest Mac OS X.\n\n## License\n\nCopyright 2014 - 2016, [Takashi AOKI][tak.sh] and other contributors.\n\nCopyright 2012, Oracle and/or its affiliates.\n\n`native/main.m` is licensed under the [GNU General Public License version 2][gnu-general-public-license-2.0].\n\nOther files are licensed under the [Apache License, Version 2.0][apache-license-2.0].\n\n[tak.sh]: https://tak.sh\n[gnu-general-public-license-2.0]: http://www.gnu.org/licenses/gpl-2.0.html\n[apache-license-2.0]: http://www.apache.org/licenses/LICENSE-2.0.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffederkasten%2Fappbundle-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffederkasten%2Fappbundle-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffederkasten%2Fappbundle-maven-plugin/lists"}