mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-20 18:50:43 +01:00
847d0999c8
* gui: include javafx native libraries for windows, mac, linux * Release v0.3 * Set version to 0.3.1-SNAPSHOT
163 lines
6.5 KiB
XML
163 lines
6.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2019 ACINQ SAS
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>fr.acinq.eclair</groupId>
|
|
<artifactId>eclair_2.11</artifactId>
|
|
<version>0.3.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>eclair-node-gui_2.11</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>eclair-node-gui</name>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<!-- we hide the git commit in the Specification-Version standard field-->
|
|
<Specification-Version>${git.commit.id}</Specification-Version>
|
|
<Url>${project.parent.url}</Url>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.chrisdchristo</groupId>
|
|
<artifactId>capsule-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>build</goal>
|
|
</goals>
|
|
<configuration>
|
|
<appClass>fr.acinq.eclair.JavafxBoot</appClass>
|
|
<type>fat</type>
|
|
<fileName>${project.name}-${project.version}</fileName>
|
|
<fileDesc>-${git.commit.id.abbrev}</fileDesc>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>installer</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.zenjava</groupId>
|
|
<artifactId>javafx-maven-plugin</artifactId>
|
|
<version>8.8.3</version>
|
|
<executions>
|
|
<execution>
|
|
<!-- required before build-native -->
|
|
<id>create-jfxjar</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>build-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>build-native</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<vendor>ACINQ</vendor>
|
|
<needShortcut>true</needShortcut>
|
|
<appName>Eclair</appName>
|
|
<nativeReleaseVersion>${project.version}</nativeReleaseVersion>
|
|
<skipNativeVersionNumberSanitizing>true</skipNativeVersionNumberSanitizing>
|
|
<nativeOutputDir>${project.build.directory}/jfx/installer</nativeOutputDir>
|
|
<mainClass>fr.acinq.eclair.JavafxBoot</mainClass>
|
|
<preLoader>fr.acinq.eclair.gui.FxPreloader</preLoader>
|
|
<verbose>false</verbose>
|
|
<bundler>EXE</bundler>
|
|
<updateExistingJar>true</updateExistingJar>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>fr.acinq.eclair</groupId>
|
|
<artifactId>eclair-node_${scala.version.short}</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.zxing</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>3.3.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics </artifactId>
|
|
<version>11.0.2</version>
|
|
<classifier>win</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics </artifactId>
|
|
<version>11.0.2</version>
|
|
<classifier>linux</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics </artifactId>
|
|
<version>11.0.2</version>
|
|
<classifier>mac</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-controls</artifactId>
|
|
<version>11.0.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-fxml</artifactId>
|
|
<version>11.0.2</version>
|
|
</dependency>
|
|
<!-- TESTS -->
|
|
<dependency>
|
|
<groupId>com.typesafe.akka</groupId>
|
|
<artifactId>akka-testkit_${scala.version.short}</artifactId>
|
|
<version>${akka.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|