mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
310 lines
13 KiB
XML
310 lines
13 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>
|
|
|
|
<properties>
|
|
<javafx.version>1.8</javafx.version>
|
|
<jettyVersion>9.4.50.v20221201</jettyVersion>
|
|
<logback.version>1.3.5</logback.version>
|
|
</properties>
|
|
|
|
<parent>
|
|
<groupId>G-Earth</groupId>
|
|
<artifactId>G-Earth-Parent</artifactId>
|
|
<version>1.5.3</version>
|
|
</parent>
|
|
|
|
<build>
|
|
<finalName>G-Earth</finalName>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/bin/Dependencies</outputDirectory>
|
|
<overWriteReleases>false</overWriteReleases>
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.2</version>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/bin</outputDirectory>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<classpathPrefix>Dependencies/</classpathPrefix>
|
|
<mainClass>gearth.GEarth</mainClass>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</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 todir="../Build/Mac/">
|
|
<fileset dir="target/bin" includes="**/*"/>
|
|
<fileset dir="src/main/resources/build/common" includes="**/*"/>
|
|
<fileset dir="src/main/resources/build/mac" includes="**/*" excludes=".gitkeep"/>
|
|
</copy>
|
|
<copy todir="../Build/Linux/">
|
|
<fileset dir="target/bin" includes="**/*"/>
|
|
<fileset dir="src/main/resources/build/common" includes="**/*"/>
|
|
<fileset dir="src/main/resources/build/linux" includes="**/*" excludes=".gitkeep"/>
|
|
</copy>
|
|
<copy todir="../Build/Windows_32bit/">
|
|
<fileset dir="target/bin" includes="**/*"/>
|
|
<fileset dir="src/main/resources/build/common" includes="**/*"/>
|
|
<fileset dir="src/main/resources/build/windows/32bit" includes="**/*" excludes=".gitkeep"/>
|
|
</copy>
|
|
<copy todir="../Build/Windows_64bit/">
|
|
<fileset dir="target/bin" includes="**/*"/>
|
|
<fileset dir="src/main/resources/build/common" includes="**/*"/>
|
|
<fileset dir="src/main/resources/build/windows/64bit" includes="**/*" excludes=".gitkeep"/>
|
|
</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>
|
|
|
|
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>ziprelease-mac</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<outputDirectory>../Build</outputDirectory>
|
|
<finalName>G-Earth-${project.version}-Mac</finalName>
|
|
<descriptors>
|
|
<descriptor>${basedir}/assembly/mac.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>ziprelease-linux</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<outputDirectory>../Build</outputDirectory>
|
|
<finalName>G-Earth-${project.version}-Linux</finalName>
|
|
<descriptors>
|
|
<descriptor>${basedir}/assembly/linux.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>ziprelease-windows_32bit</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<outputDirectory>../Build</outputDirectory>
|
|
<finalName>G-Earth-${project.version}-Windows_32bit</finalName>
|
|
<descriptors>
|
|
<descriptor>${basedir}/assembly/windows_32bit.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>ziprelease-windows_64bit</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<outputDirectory>../Build</outputDirectory>
|
|
<finalName>G-Earth-${project.version}-Windows_64bit</finalName>
|
|
<descriptors>
|
|
<descriptor>${basedir}/assembly/windows_64bit.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</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.15.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.tulskiy</groupId>
|
|
<artifactId>jkeymaster</artifactId>
|
|
<version>1.3</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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>
|
|
<!-- 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>
|
|
<dependency>
|
|
<groupId>com.github.ganskef</groupId>
|
|
<artifactId>littleproxy-mitm</artifactId>
|
|
<version>1.1.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>G-Earth</groupId>
|
|
<artifactId>G-Wasm-Minimal</artifactId>
|
|
<version>1.0.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>snapshots-repo</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</repository>
|
|
</repositories>
|
|
</project> |