Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javafx-maven-plugin/javafx-maven-plugin
Maven plugin for JavaFX
https://github.com/javafx-maven-plugin/javafx-maven-plugin
build-tool java javafx javafx-maven-plugin maven maven-plugin
Last synced: 3 days ago
JSON representation
Maven plugin for JavaFX
- Host: GitHub
- URL: https://github.com/javafx-maven-plugin/javafx-maven-plugin
- Owner: javafx-maven-plugin
- Created: 2012-10-21T02:03:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-08-17T02:27:02.000Z (over 3 years ago)
- Last Synced: 2025-01-12T00:05:29.244Z (10 days ago)
- Topics: build-tool, java, javafx, javafx-maven-plugin, maven, maven-plugin
- Language: Java
- Homepage: https://zenjava.net/javafx-maven-plugin/
- Size: 959 KB
- Stars: 839
- Watchers: 52
- Forks: 137
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: license.header
Awesome Lists containing this project
README
[![Maven Central](https://img.shields.io/maven-central/v/com.zenjava/javafx-maven-plugin.svg)](https://maven-badges.herokuapp.com/maven-central/com.zenjava/javafx-maven-plugin)
JavaFX Maven Plugin
===================The JavaFX Maven Plugin provides a way to assemble distribution bundles for JavaFX applications (8+) from within Maven.
This plugin is essentially a Maven wrapper for the packaging tool that comes with JavaFX, it's called [javapackager](https://docs.oracle.com/javase/9/tools/javapackager.htm).
For easy configuration please use the old configurator:
**[https://zenjava.net/javafx-maven-plugin/](https://zenjava.net/javafx-maven-plugin/)**Requirements
============
* Maven 3.5 (older versions might work too)
* Java Developer Kit 8 with at least Update 40 (does **NOT** support JKD9 or later yet)OS-specific requirements
========================
* (Windows) EXE installers: Inno Setup
* (Windows) MSI installers: WiX (at least version 3.7)
* (Linux) DEB installers: dpkg-deb
* (Linux) RPM installers: rpmbuild
* (Mac) DMG installers: hdiutil
* (Mac) PKG installers: pkgbuildQuickstart for JavaFX JAR
=========================Add this to your pom.xml within to your build-plugin:
```xml
com.zenjava
javafx-maven-plugin
8.8.3
your.package.with.Launcher
```
To create your executable file with JavaFX-magic, call `mvn jfx:jar`. The jar-file will be placed at `target/jfx/app`.
Quickstart for JavaFX native bundle
===================================Add this to your pom.xml within to your build-plugin:
```xml
com.zenjava
javafx-maven-plugin
8.8.3
YourCompany
your.package.with.Launcher
```
To create your executable file with JavaFX-magic and some installers (please see official oracle-documentation which applications are required for this), call `mvn jfx:native`. The native launchers or installers will be placed at `target/jfx/native`.
Using `SNAPSHOT`-versions
=========================
When you report a bug and this got worked around, you might be able to have access to some -SNAPSHOT-version, please adjust your `pom.xml`:```xml
oss-sonatype-snapshots
https://oss.sonatype.org/content/groups/public/
true
```
Last Release Notes
==================**Version 8.8.3 (09-feb-2017)**
Bugfixes:
* fixed `` of secondary launchers not being set correctly ([reported at the javafx-gradle-plugin](https://github.com/FibreFoX/javafx-gradle-plugin/issues/55))(Not yet) Release(d) Notes
==========================upcoming Version 8.10.0 (???-???-2021)
New:
* added a way to have PKCS11 signing by setting `true` and `true`, makes it possible to have hardware tokens
* added ability to prefix dependencies with their `groupId` by setting `true`, should work around the edge-case where dependencies have the same artifactId and would overwrite otherwiseEnhancement:
* ~~JDK 9 compatibility~~ (got broken with Jigsaw)
* TravisCI: use newer build machinesDocumentation:
* clarified that this plugin is a wrapper, thanks to @TurekBot