From 318eb24d6486d3e434fe15960d8db8157b8e6fb8 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Fri, 21 Mar 2014 16:58:14 +0100 Subject: [PATCH] - support for native bundles --- oce-main/oce-ui/pom.xml | 94 ++++++++++++++++++++++++++++++++++------- 1 file changed, 78 insertions(+), 16 deletions(-) diff --git a/oce-main/oce-ui/pom.xml b/oce-main/oce-ui/pom.xml index 58cc0210a..145bb8ad4 100644 --- a/oce-main/oce-ui/pom.xml +++ b/oce-main/oce-ui/pom.xml @@ -19,6 +19,7 @@ de.sebastianstenzel.oce.ui.MainApplication + ${java.home}/../lib/ant-javafx.jar @@ -38,33 +39,94 @@ - org.apache.maven.plugins - maven-assembly-plugin - - - - ${javafx.version} - ${exec.mainClass} - ${exec.mainClass} - - - - jar-with-dependencies - - + maven-dependency-plugin - assemble-all + copy + prepare-package + + copy-dependencies + + + ${project.build.directory}/libs + compile + runtime + javafx + + + + + + maven-antrun-plugin + 1.7 + + + native-launcher package - single + run + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [2.1,) + + copy-dependencies + + + + + + + + + + + +