mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-27 14:00:38 +00:00
131 lines
3.9 KiB
XML
131 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright (c) 2014 Sebastian Stenzel
|
|
This file is licensed under the terms of the MIT license.
|
|
See the LICENSE.txt file for more info.
|
|
|
|
Contributors:
|
|
Sebastian Stenzel - initial API and implementation
|
|
-->
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.cryptomator</groupId>
|
|
<artifactId>main</artifactId>
|
|
<version>0.3.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>ui</artifactId>
|
|
<name>Cryptomator GUI</name>
|
|
|
|
<properties>
|
|
<javafx.application.name>Cryptomator</javafx.application.name>
|
|
<exec.mainClass>org.cryptomator.ui.MainApplication</exec.mainClass>
|
|
<javafx.tools.ant.jar>${java.home}/../lib/ant-javafx.jar</javafx.tools.ant.jar>
|
|
<controlsfx.version>8.20.8</controlsfx.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.cryptomator</groupId>
|
|
<artifactId>core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.cryptomator</groupId>
|
|
<artifactId>crypto-aes</artifactId>
|
|
</dependency>
|
|
|
|
<!-- JSON -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
|
|
<!-- apache commons -->
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
</dependency>
|
|
|
|
<!-- UI -->
|
|
<dependency>
|
|
<groupId>org.controlsfx</groupId>
|
|
<artifactId>controlsfx</artifactId>
|
|
<version>${controlsfx.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<finalName>${javafx.application.name}</finalName>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Main-Class>${exec.mainClass}</Main-Class>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>create-deployment-bundle</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target xmlns:fx="javafx:com.sun.javafx.tools.ant">
|
|
<taskdef uri="javafx:com.sun.javafx.tools.ant" resource="com/sun/javafx/tools/ant/antlib.xml" classpath="${project.basedir}:${javafx.tools.ant.jar}" />
|
|
|
|
<fx:deploy nativeBundles="all" outdir="${project.build.directory}/dist" outfile="${project.build.finalName}" verbose="false">
|
|
<fx:application name="${javafx.application.name}" version="${project.version}" mainClass="${exec.mainClass}" />
|
|
<fx:info title="${javafx.application.name}" vendor="cryptomator.org" copyright="cryptomator.org" license="MIT" category="Utility" />
|
|
<fx:platform basedir="" javafx="2.2+" j2se="8.0" />
|
|
<fx:resources>
|
|
<fx:fileset dir="${project.build.directory}" includes="${javafx.application.name}.jar" />
|
|
</fx:resources>
|
|
<fx:permissions elevated="true" />
|
|
<fx:preferences install="true" />
|
|
</fx:deploy>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|