Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akman/jpackage-maven-plugin
The jpackage maven plugin lets you create a custom runtime image/installer with the jpackage tool introduced in Java 14.
https://github.com/akman/jpackage-maven-plugin
java jpackage maven maven-plugin
Last synced: 7 days ago
JSON representation
The jpackage maven plugin lets you create a custom runtime image/installer with the jpackage tool introduced in Java 14.
- Host: GitHub
- URL: https://github.com/akman/jpackage-maven-plugin
- Owner: Akman
- License: apache-2.0
- Created: 2020-06-26T19:10:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-26T18:24:39.000Z (about 2 months ago)
- Last Synced: 2024-10-27T06:54:45.033Z (about 2 months ago)
- Topics: java, jpackage, maven, maven-plugin
- Language: Java
- Homepage: https://akman.github.io/jpackage-maven-plugin
- Size: 2.57 MB
- Stars: 47
- Watchers: 6
- Forks: 10
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JPackage Maven Plugin v0.1.5
[![Build Status][travis_badge]][travis_href]
[![Maven Central][central_badge]][central_href]
[![License][license_badge]][license_href]The jpackage maven plugin lets you create a custom runtime image/installer with
the jpackage tool introduced in Java 14.The main idea is to avoid being tied to project artifacts and allow the user
to fully control the process of creating an image/installer.[The detailed documentation for this plugin is available here.][goals]
## Goals
This plugin has two [goals][goals]:
- [jpackage:jpackage][mojo_jpackage] is not bound to any phase within the Maven
lifecycle and is therefore is not automatically executed, therefore
the required phase must be specified explicitly.- [jpackage:help][mojo_help] display help information on the plugin.
To create a custom runtime image/installer manually you need only to execute:
```console
mvn jpackage:jpackage
```It will not fork (spawn a parallel) an alternate build lifecycle and
will execute the *jpackage* goal immediately.To display parameter details execute:
```console
mvn jpackage:help -Ddetail=true
```## Usage
Add the plugin to your pom:
```xml
...
...
com.github.akman
jpackage-maven-plugin
0.1.5
...
...
...
com.github.akman
jpackage-maven-plugin
verify
jpackage
...
...
```If you want to use snapshot versions of the plugin connect the snapshot
repository in your pom.xml.```xml
...
ossrh
OSS Sonatype Snapshots Repository
https://oss.sonatype.org/content/repositories/snapshots
default
true
false
...
```And then build your project, *jpackage* starts automatically:
```console
mvn clean verify
```## Links
[The JPackage tool official description.][jpackage]
## Pull request
Pull request template: [.github/pull_request_template.md][pull_request].
[travis_badge]: https://app.travis-ci.com/akman/jpackage-maven-plugin.svg?branch=v0.1.5
[travis_href]: https://app.travis-ci.com/akman/jpackage-maven-plugin
[central_badge]: https://img.shields.io/maven-central/v/com.github.akman/jpackage-maven-plugin
[central_href]: https://search.maven.org/artifact/com.github.akman/jpackage-maven-plugin
[license_badge]: https://img.shields.io/github/license/akman/jpackage-maven-plugin.svg
[license_href]: https://github.com/akman/jpackage-maven-plugin/blob/master/LICENSE
[goals]: https://akman.github.io/jpackage-maven-plugin/plugin-info.html
[mojo_jpackage]: https://akman.github.io/jpackage-maven-plugin/jpackage-mojo.html
[mojo_help]: https://akman.github.io/jpackage-maven-plugin/help-mojo.html
[jpackage]: https://docs.oracle.com/en/java/javase/23/jpackage
[pull_request]: https://github.com/akman/jpackage-maven-plugin/blob/master/.github/pull_request_template.md