jtoolprovider-plugin

Maven Plugin Adapter for the ToolProvider API

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

io.github.wiverson
ArtifactId

ArtifactId

jtoolprovider-plugin
Last Version

Last Version

1.0.34
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

jtoolprovider-plugin
Maven Plugin Adapter for the ToolProvider API
Project URL

Project URL

https://github.com/wiverson/jtoolprovider-plugin
Project Organization

Project Organization

Will Iverson
Source Code Management

Source Code Management

https://github.com/wiverson/jtoolprovider-plugin/

Download jtoolprovider-plugin

How to add to project

<plugin>
    <groupId>io.github.wiverson</groupId>
    <artifactId>jtoolprovider-plugin</artifactId>
    <version>1.0.34</version>
</plugin>

Dependencies

compile (5)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.6.3
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0
org.slf4j : slf4j-api jar 1.7.30
org.sonatype.plexus : plexus-build-api jar 0.0.7
org.moditect : moditect-maven-plugin jar 1.0.0.RC1

test (3)

Group / Artifact Type Version
junit : junit jar 4.13.1
org.assertj : assertj-core jar 3.18.1
org.slf4j : slf4j-simple jar 1.7.30

Project Modules

There are no modules declared in this project.

jtoolprovider-plugin

This Maven Plugin does two things. First, it automatically transforms your Maven dependency graph into Java modules. Second, it bridges Maven and built-in Java tools like jdeps, jlink, and jpackage.

Why would you care about any of that? The main reason: this plugin makes it much, much easier to generate native Java desktop applications with nice, small installers. Here's a complete working example of generating a JavaFX desktop app, including GitHub Actions to automatically generate the macOS, Windows, and Linux versions.

The two goals for this plugin are collect-modules (which processes the Maven dependency tree to transform Maven dependencies into modules) and java-tool (to run any supported JDK tool directly from in Maven).

By combining this plugin with Maven build profiles, it's possible to build a single Maven pom.xml that can generate platform-specific installers. Very useful for things like working with JavaFX.

Maven Central Maven Central mvn verify status

Next Steps

Background Information

Versions

Version
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
1.0.29
1.0.25
1.0.23
1.0.22
1.0.21
1.0.20
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10