207 lines
8.9 KiB
XML
207 lines
8.9 KiB
XML
<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>
|
|
<groupId>it.cavallium</groupId>
|
|
<artifactId>TransferBot</artifactId>
|
|
<packaging>jar</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
<repositories>
|
|
<repository>
|
|
<id>mchv-release</id>
|
|
<name>MCHV Release Apache Maven Packages</name>
|
|
<url>https://mvn.mchv.eu/repository/mchv</url>
|
|
</repository>
|
|
<repository>
|
|
<id>mchv-snapshot</id>
|
|
<name>MCHV Snapshot Apache Maven Packages</name>
|
|
<url>https://mvn.mchv.eu/repository/mchv-snapshot</url>
|
|
</repository>
|
|
</repositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-controls</artifactId>
|
|
<version>15</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-fxml</artifactId>
|
|
<version>15</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics</artifactId>
|
|
<version>15</version>
|
|
<classifier>win</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics</artifactId>
|
|
<version>15</version>
|
|
<classifier>linux</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-graphics</artifactId>
|
|
<version>15</version>
|
|
<classifier>mac</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>it.tdlight</groupId>
|
|
<artifactId>tdlib-session-container</artifactId>
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-base</artifactId>
|
|
<version>15</version>
|
|
<classifier>linux</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-base</artifactId>
|
|
<version>15</version>
|
|
<classifier>win</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-base</artifactId>
|
|
<version>15</version>
|
|
<classifier>mac</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode.libphonenumber</groupId>
|
|
<artifactId>libphonenumber</artifactId>
|
|
<version>8.12.11</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>11</source>
|
|
<target>11</target>
|
|
</configuration>
|
|
</plugin>
|
|
<!--
|
|
<plugin>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-maven-plugin</artifactId>
|
|
<version>0.0.4</version>
|
|
<configuration>
|
|
<stripDebug>true</stripDebug>
|
|
<compress>2</compress>
|
|
<noHeaderFiles>true</noHeaderFiles>
|
|
<noManPages>true</noManPages>
|
|
<launcher>transferapp</launcher>
|
|
<jlinkImageName>transferapp</jlinkImageName>
|
|
<jlinkZipName>hellozip</jlinkZipName>
|
|
<jlinkVerbose>true</jlinkVerbose>
|
|
<mainClass>it.cavallium/it.cavallium.App</mainClass>
|
|
</configuration>
|
|
</plugin>
|
|
-->
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer implementation=
|
|
"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>it.cavallium.Launcher</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--
|
|
<plugin>
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
<version>1.7.25</version>
|
|
<executions>
|
|
<execution>
|
|
<id>l4j-gui</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>launch4j</goal>
|
|
</goals>
|
|
<configuration>
|
|
<headerType>gui</headerType>
|
|
<jar>${project.build.directory}/TransferBot-1.0-SNAPSHOT-jar-with-dependencies.jar</jar>
|
|
<outfile>${project.build.directory}/transfer-bot.exe</outfile>
|
|
<classPath>
|
|
<mainClass>it.cavallium.App</mainClass>
|
|
<addDependencies>true</addDependencies>
|
|
<preCp>anything</preCp>
|
|
</classPath>
|
|
<errTitle/>
|
|
<cmdLine/>
|
|
<chdir/>
|
|
<priority>normal</priority>
|
|
<downloadUrl>https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/OpenJDK11U-jre_x64_windows_hotspot_11.0.8_10.msi</downloadUrl>
|
|
<supportUrl/>
|
|
<stayAlive>false</stayAlive>
|
|
<manifest/>
|
|
<icon/>
|
|
<jre>
|
|
<path/>
|
|
<minVersion>15</minVersion>
|
|
<maxVersion/>
|
|
<jdkPreference>preferJre</jdkPreference>
|
|
<initialHeapSize>256</initialHeapSize>
|
|
<maxHeapSize>3000</maxHeapSize>
|
|
</jre>
|
|
<splash>
|
|
<file>${project.basedir}/src/main/build/splash.bmp</file>
|
|
<waitForWindow>true</waitForWindow>
|
|
<timeout>60</timeout>
|
|
<timeoutErr>true</timeoutErr>
|
|
</splash>
|
|
<versionInfo>
|
|
<fileVersion>0.0.0.0</fileVersion>
|
|
<txtFileVersion>${project.version}</txtFileVersion>
|
|
<fileDescription>Transfer bot</fileDescription>
|
|
<copyright>Cavallium 2020</copyright>
|
|
<productVersion>1.0.0.0</productVersion>
|
|
<txtProductVersion>${project.version}</txtProductVersion>
|
|
<productName>Transfer Bot</productName>
|
|
<companyName>WARP</companyName>
|
|
<internalName>transferbot</internalName>
|
|
<originalFilename>transfer-bot.exe</originalFilename>
|
|
</versionInfo>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>-->
|
|
</plugins>
|
|
</build>
|
|
</project> |