G-Earth/G-Earth/pom.xml

246 lines
9.8 KiB
XML
Raw Normal View History

2018-10-13 22:54:52 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<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>
2018-10-17 21:37:06 +02:00
<artifactId>G-Earth</artifactId>
2018-10-13 22:54:52 +02:00
<packaging>jar</packaging>
2021-08-20 01:24:12 +02:00
<version>1.5</version>
2018-10-13 22:54:52 +02:00
<properties>
2020-04-28 23:54:27 +02:00
<javafx.version>1.8</javafx.version>
<jettyVersion>9.4.41.v20210516</jettyVersion>
</properties>
2018-10-13 22:54:52 +02:00
<parent>
<groupId>G-Earth</groupId>
<artifactId>G-Earth-Parent</artifactId>
2021-08-20 01:24:12 +02:00
<version>1.5</version>
2018-10-13 22:54:52 +02:00
</parent>
<build>
<plugins>
<!-- this builds a non-standalone JAR file -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
2018-10-13 22:54:52 +02:00
<configuration>
<outputDirectory>${project.build.directory}/bin</outputDirectory>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
2020-10-20 04:07:21 +02:00
<mainClass>gearth.Main</mainClass>
2018-10-13 22:54:52 +02:00
<useUniqueVersions>false</useUniqueVersions>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
2018-10-13 22:54:52 +02:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>${project.build.directory}/bin</outputDirectory>
2018-10-13 22:54:52 +02:00
<archive>
<manifest>
2020-10-20 04:07:21 +02:00
<mainClass>gearth.Main</mainClass>
2018-10-13 22:54:52 +02:00
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
2018-11-17 19:08:54 +01:00
<!--<finalName>G-Earth-${project.version}</finalName>-->
<finalName>G-Earth</finalName>
2018-10-13 22:54:52 +02:00
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</plugin>
2020-04-24 22:37:25 +02:00
<!-- global build folder -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>copy_files</id>
<phase>package</phase>
<configuration>
<target name="copy G-Earth.jar to Build folder">
<copy file="target/bin/G-Earth.jar" todir="../Build/Mac/"/>
<copy file="target/bin/G-Earth.jar" todir="../Build/Linux/"/>
<copy file="target/bin/G-Earth.jar" todir="../Build/Windows_32bit/"/>
<copy file="target/bin/G-Earth.jar" todir="../Build/Windows_64bit/"/>
2020-12-28 00:20:33 +01:00
<copy file="src/main/resources/build/messages.json" todir="../Build/Mac/"/>
<copy file="src/main/resources/build/messages.json" todir="../Build/Linux/"/>
<copy file="src/main/resources/build/messages.json" todir="../Build/Windows_32bit/"/>
<copy file="src/main/resources/build/messages.json" todir="../Build/Windows_64bit/"/>
2020-04-24 22:37:25 +02:00
<copy todir="../Build/Mac/">
<fileset dir="src/main/resources/build/mac" includes="**/*" />
</copy>
<copy todir="../Build/Linux/">
<fileset dir="src/main/resources/build/linux" includes="**/*" excludes=".gitkeep" />
2020-04-24 22:37:25 +02:00
</copy>
<copy todir="../Build/Windows_32bit/">
<fileset dir="src/main/resources/build/windows/32bit" includes="**/*" />
</copy>
<copy todir="../Build/Windows_64bit/">
<fileset dir="src/main/resources/build/windows/64bit" includes="**/*" />
</copy>
2021-10-02 21:24:20 +02:00
<copy todir="../Build/Mac/Cache">
<fileset dir="src/main/resources/build/cache" includes="**/*" />
</copy>
<copy todir="../Build/Linux/Cache">
<fileset dir="src/main/resources/build/cache" includes="**/*" />
</copy>
<copy todir="../Build/Windows_32bit/Cache">
<fileset dir="src/main/resources/build/cache" includes="**/*" />
</copy>
<copy todir="../Build/Windows_64bit/Cache">
<fileset dir="src/main/resources/build/cache" includes="**/*" />
</copy>
2020-04-24 22:37:25 +02:00
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>clean_files</id>
<phase>clean</phase>
<configuration>
<target name="clean our own build folder">
<delete dir="../Build"
includeemptydirs="true"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
2018-10-13 22:54:52 +02:00
</plugins>
</build>
2018-10-13 22:54:52 +02:00
<dependencies>
2020-04-28 23:54:27 +02:00
<!-- <dependency>-->
<!-- <groupId>org.openjfx</groupId>-->
<!-- <artifactId>javafx-fxml</artifactId>-->
<!-- <version>${javafx.version}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.openjfx</groupId>-->
<!-- <artifactId>javafx-graphics</artifactId>-->
<!-- <version>${javafx.version}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.openjfx</groupId>-->
<!-- <artifactId>javafx-web</artifactId>-->
<!-- <version>${javafx.version}</version>-->
<!-- </dependency>-->
2018-10-13 22:54:52 +02:00
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20190722</version>
2018-10-13 22:54:52 +02:00
</dependency>
<dependency>
<groupId>org.fxmisc.richtext</groupId>
<artifactId>richtextfx</artifactId>
2020-04-28 04:28:56 +02:00
<version>0.10.5</version>
2018-10-13 22:54:52 +02:00
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.14.2</version>
</dependency>
2019-02-02 14:36:28 +01:00
<dependency>
<groupId>com.github.tulskiy</groupId>
<artifactId>jkeymaster</artifactId>
2020-12-28 02:11:47 +01:00
<version>1.3</version>
2019-02-02 14:36:28 +01:00
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>2.0.0-alpha0</version>
2019-02-02 14:36:28 +01:00
</dependency>
2020-10-19 02:00:39 +02:00
<!-- https://mvnrepository.com/artifact/org.apache.maven/maven-artifact -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>3.6.3</version>
</dependency>
<dependency>
<groupId>javax.websocket</groupId>
<artifactId>javax.websocket-api</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jettyVersion}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>javax-websocket-server-impl</artifactId>
<version>${jettyVersion}</version>
</dependency>
2020-12-27 21:30:47 +01:00
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<version>${jettyVersion}</version>
</dependency>
2021-07-04 21:13:09 +02:00
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>at.favre.lib</groupId>
<artifactId>bytes</artifactId>
<version>1.5.0</version>
</dependency>
2021-07-04 21:13:09 +02:00
2020-12-27 21:30:47 +01:00
<dependency>
<groupId>G-Earth</groupId>
<artifactId>G-Wasm</artifactId>
<version>1.0</version>
</dependency>
2018-10-13 22:54:52 +02:00
</dependencies>
2019-02-02 14:36:28 +01:00
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
2018-10-13 22:54:52 +02:00
</project>