Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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