JavaFX的8 - 如何建立EXE使用Maven和放大器; INNO [英] JavaFX 8 - How to build EXE with Maven & INNO

查看:619
本文介绍了JavaFX的8 - 如何建立EXE使用Maven和放大器; INNO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直没能成功地找到关于如何配置Maven构建从JavaFX的一个EXE与Maven一个有效的解决方案。

I have not been able to successfully find a working solution on how to configure Maven to build an EXE from JavaFX with Maven.

clipse使用build.fxbuild工作很大,但我会preFER有一个Maven项目,与相关的模块,而基本的ANT构建设置与E(FX)项目。

Projects set up with E(fx)clipse using the build.fxbuild work great, however I would prefer to have a maven project, with dependent modules rather the basic ANT builds.

我看到的ZENJAVA一些意见 - 但它出现在已经失去了所有的牵引力的插头和为pretty死得多

I have seen some comments on ZENJAVA - but it appears that plug in has lost all traction and is pretty much dead.

有什么在那里,可以从捆绑的Maven的EXE?我的项目是一个企业项目,将有几个项目,以及大量依赖 - 所以我希望来管理所有的一个简单,有效的方法。

Is there anything out there that can bundle an EXE from Maven? My project is an enterprise project which will have several projects, and lots of dependencies - so I was hoping for a simple, effective way to manage all of that.

感谢

推荐答案

插件没有死,只是在官方网站被撤下,由于它产生的费用。

the plugin is NOT dead, just the official website was taken down due to the costs it produced.

只要看看混帐存储库的详细信息:<一href=\"https://github.com/javafx-maven-plugin/javafx-maven-plugin\">https://github.com/javafx-maven-plugin/javafx-maven-plugin

Just look at the git-repository for further details: https://github.com/javafx-maven-plugin/javafx-maven-plugin

我们有我们的测试文件夹中的一些示例配置:<一href=\"https://github.com/javafx-maven-plugin/javafx-maven-plugin/tree/master/src/it\">https://github.com/javafx-maven-plugin/javafx-maven-plugin/tree/master/src/it

We have some sample configurations within our testing-folder: https://github.com/javafx-maven-plugin/javafx-maven-plugin/tree/master/src/it

要刚刚建立的EXE安装程序,您可以指定一个特定的捆绑程序(从8.1.3版本及以上)。

To just build the EXE-installer, you can specify an specific bundler (from version 8.1.3 and up).

要使用插件,只需要把它放到你的构建,插件:

To use the plugin, just put this into your build-plugins:

        <plugin>
            <groupId>com.zenjava</groupId>
            <artifactId>javafx-maven-plugin</artifactId>
            <version>8.1.3-SNAPSHOT</version>
            <configuration>
                <mainClass>com.your.amazing.mavenized.javafxapplication</mainClass>
                <bundler>EXE</bundler>
            </configuration>
        </plugin>

免责声明:我该插件的维护者之一;)

disclaimer: i'm one of the maintainer of that plugin ;)

这篇关于JavaFX的8 - 如何建立EXE使用Maven和放大器; INNO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆