mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
218 lines
8.5 KiB
XML
218 lines
8.5 KiB
XML
<?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>
|
|
|
|
<artifactId>G-Earth</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<version>1.3</version>
|
|
|
|
<properties>
|
|
<javafx.version>1.8</javafx.version>
|
|
<jettyVersion>9.4.35.v20201120</jettyVersion>
|
|
</properties>
|
|
|
|
<parent>
|
|
<groupId>G-Earth</groupId>
|
|
<artifactId>G-Earth-Parent</artifactId>
|
|
<version>1.3</version>
|
|
</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>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/bin</outputDirectory>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addClasspath>true</addClasspath>
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
<mainClass>gearth.Main</mainClass>
|
|
<useUniqueVersions>false</useUniqueVersions>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/bin</outputDirectory>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>gearth.Main</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<!--<finalName>G-Earth-${project.version}</finalName>-->
|
|
<finalName>G-Earth</finalName>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
<!-- 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/"/>
|
|
|
|
<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/"/>
|
|
|
|
<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" />
|
|
</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>
|
|
</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>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<dependencies>
|
|
<!-- <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>-->
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20190722</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.fxmisc.richtext</groupId>
|
|
<artifactId>richtextfx</artifactId>
|
|
<version>0.10.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>1.12.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.tulskiy</groupId>
|
|
<artifactId>jkeymaster</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
<version>2.0.0-alpha0</version>
|
|
</dependency>
|
|
<!-- 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>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-http</artifactId>
|
|
<version>${jettyVersion}</version>
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
<groupId>G-Earth</groupId>
|
|
<artifactId>G-Wasm</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>snapshots-repo</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</repository>
|
|
</repositories>
|
|
</project> |