123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <?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.5.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>
- <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 javafx="2.2+" j2se="8.0" />
- <fx:resources>
- <fx:fileset dir="${project.build.directory}" includes="${javafx.application.name}.jar" />
- </fx:resources>
- <fx:permissions elevated="false" />
- <fx:preferences install="true" />
- </fx:deploy>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|