Files
ani-rss/pom.xml

142 lines
5.7 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>
<groupId>ani.rss</groupId>
<artifactId>ani-rss</artifactId>
<version>1.2.4</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.eclipse</groupId>
<artifactId>bittorrent</artifactId>
<version>0.3.0-v20070627-1030</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.47.1.0</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.5.13</version>
</dependency>
<dependency>
<groupId>io.github.biezhi</groupId>
<artifactId>TinyPinyin</artifactId>
<version>2.0.3.RELEASE</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.30</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.37</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.15.4</version>
</dependency>
</dependencies>
<build>
<finalName>ani-rss</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>ani.rss.Main</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<version>2.5.1</version>
<executions>
<execution>
<id>l4j</id>
<phase>package</phase>
<goals>
<goal>launch4j</goal>
</goals>
<configuration>
<headerType>gui</headerType>
<outfile>target/ani-rss-launcher.exe</outfile>
<jar>target/ani-rss-jar-with-dependencies.jar</jar>
<errTitle>Java environment is required!</errTitle>
<cmdLine>--gui</cmdLine>
<chdir>.</chdir>
<priority>normal</priority>
<downloadUrl>https://adoptium.net/zh-CN/</downloadUrl>
<supportUrl>https://whichjdk.com/</supportUrl>
<stayAlive>false</stayAlive>
<restartOnCrash>false</restartOnCrash>
<icon>ui/public/favicon.ico</icon>
<jre>
<path>jre/bin;%JAVA_HOME%/bin;%PATH%</path>
<minVersion>17</minVersion>
<opts>
<opt>--add-opens=java.base/java.net=ALL-UNNAMED</opt>
<opt>--add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED</opt>
</opts>
</jre>
<versionInfo>
<fileDescription>https://docs.wushuo.top/</fileDescription>
<copyright>Copyright (C) 2024-2025</copyright>
<productName>${artifactId}</productName>
<internalName>${artifactId}</internalName>
<originalFilename>ani-rss-launcher.exe</originalFilename>
<language>SIMPLIFIED_CHINESE</language>
</versionInfo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>