2021-12-06 11:19:00 +08: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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.6.1</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>com.yutou</groupId>
|
|
|
|
<artifactId>QQBot</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>QQBot</name>
|
|
|
|
<description>QQBot</description>
|
|
|
|
<properties>
|
|
|
|
<java.version>17</java.version>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.mamoe</groupId>
|
|
|
|
<artifactId>mirai-core-jvm</artifactId>
|
2023-07-25 16:04:50 +08:00
|
|
|
<version>2.15.0</version>
|
2021-12-06 11:19:00 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
|
|
<artifactId>kotlinx-coroutines-jdk8</artifactId>
|
2022-07-16 13:04:09 +08:00
|
|
|
<version>1.6.4</version>
|
2021-12-06 11:19:00 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
|
|
<artifactId>kotlinx-coroutines-core-jvm</artifactId>
|
2022-07-16 13:04:09 +08:00
|
|
|
<version>1.6.4</version>
|
2021-12-06 11:19:00 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
<artifactId>jedis</artifactId>
|
2023-01-05 14:36:42 +08:00
|
|
|
<version>4.3.1</version>
|
2021-12-06 11:19:00 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
|
|
|
|
<dependency>
|
2022-04-28 09:50:33 +08:00
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
<artifactId>fastjson2</artifactId>
|
2023-01-05 14:36:42 +08:00
|
|
|
<version>2.0.22</version>
|
2021-12-06 11:19:00 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.iflytek</groupId>
|
|
|
|
<artifactId>msc</artifactId>
|
|
|
|
<version>4.1</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${project.basedir}/libs/Msc.jar</systemPath>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.iflytek</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>4.1</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${project.basedir}/libs/json-jena-1.0.jar</systemPath>
|
|
|
|
</dependency>
|
2023-07-25 16:04:50 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fix-protocol-version.mirai2</groupId>
|
|
|
|
<artifactId>mirai2</artifactId>
|
|
|
|
<version>1.9.9</version>
|
|
|
|
<scope>system</scope>
|
|
|
|
<systemPath>${project.basedir}/libs/fix-protocol-version-1.9.9.mirai2.jar</systemPath>
|
|
|
|
</dependency>
|
|
|
|
<!-- QQ协议修复的依赖 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.asynchttpclient</groupId>
|
|
|
|
<artifactId>async-http-client</artifactId>
|
|
|
|
<version>2.12.3</version>
|
|
|
|
</dependency>
|
2021-12-08 23:46:06 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
2023-01-05 14:36:42 +08:00
|
|
|
<version>4.7.1</version>
|
2021-12-08 23:46:06 +08:00
|
|
|
</dependency>
|
2022-04-28 09:14:52 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-chrome-driver</artifactId>
|
2023-01-05 14:36:42 +08:00
|
|
|
<version>4.7.1</version>
|
2022-04-28 09:14:52 +08:00
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-api -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-api</artifactId>
|
2023-01-05 14:36:42 +08:00
|
|
|
<version>4.7.1</version>
|
2022-04-28 09:14:52 +08:00
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-remote-driver -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-remote-driver</artifactId>
|
2023-03-18 13:41:47 +08:00
|
|
|
<version>4.8.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-http-jdk-client</artifactId>
|
|
|
|
<version>4.8.1</version>
|
2022-04-28 09:14:52 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
2021-12-09 02:50:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
2021-12-08 23:46:06 +08:00
|
|
|
|
2021-12-16 23:25:05 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<version>1.15</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-04-08 02:26:29 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>core</artifactId>
|
2023-01-05 14:36:42 +08:00
|
|
|
<version>3.5.1</version>
|
2022-04-08 02:26:29 +08:00
|
|
|
</dependency>
|
2021-12-08 23:46:06 +08:00
|
|
|
|
2022-05-04 22:30:56 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
2023-01-05 14:36:42 +08:00
|
|
|
<version>3.21.12</version>
|
2022-05-04 22:30:56 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java-util</artifactId>
|
2022-07-16 12:34:14 +08:00
|
|
|
<version>3.21.1</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.reflections/reflections
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
|
|
|
<version>0.10.2</version>
|
2022-05-04 22:30:56 +08:00
|
|
|
</dependency>
|
|
|
|
|
2023-01-05 14:36:42 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.brotli/dec -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.brotli</groupId>
|
|
|
|
<artifactId>dec</artifactId>
|
|
|
|
<version>0.1.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-12-06 11:19:00 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<echo>复制正式文件</echo>
|
2022-04-08 02:26:29 +08:00
|
|
|
<copy file="src/main/resources/application.properties.release"
|
|
|
|
tofile="${project.build.outputDirectory}/application.properties"
|
|
|
|
overwrite="true"/>
|
2021-12-06 11:19:00 +08:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>test-compile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!--使用-Dloader.path需要在打包的时候增加<layout>ZIP</layou
|
|
|
|
t>,不指定的话-Dloader.path不生效-->
|
|
|
|
<layout>ZIP</layout>
|
|
|
|
<!-- 指定该jar包启动时的主类[建议] -->
|
|
|
|
<mainClass>com.yutou.qqbot.QQBotApplication</mainClass>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<configuration>
|
|
|
|
<source>17</source>
|
|
|
|
<target>17</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|