mirror of
https://github.com/wxd-gaming/test-all.git
synced 2026-06-08 15:34:12 +08:00
229 lines
9.7 KiB
XML
229 lines
9.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>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.3.2</version>
|
|
</parent>
|
|
|
|
<groupId>org.example</groupId>
|
|
<artifactId>spring.test</artifactId>
|
|
<version>1.0</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
|
<module>server</module>
|
|
<module>scripts</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<wxdgaming.boot.version>j21-003</wxdgaming.boot.version>
|
|
</properties>
|
|
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>public</id>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<!-- <url>https://repo1.maven.org/maven2/</url>-->
|
|
</repository>
|
|
<repository>
|
|
<id>central</id>
|
|
<url>https://maven.aliyun.com/repository/central</url>
|
|
<!-- <url>https://repo1.maven.org/maven2/</url>-->
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>public</id>
|
|
<name>public</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>central</id>
|
|
<name>central</name>
|
|
<url>https://maven.aliyun.com/repository/central</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
</dependency>
|
|
<!--日志框架-->
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
</dependency>
|
|
<!--日志框架-->
|
|
<dependency>
|
|
<groupId>wxdgaming.boot</groupId>
|
|
<artifactId>wxdgaming.boot.agent</artifactId>
|
|
<version>${wxdgaming.boot.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>wxdgaming.boot</groupId>
|
|
<artifactId>wxdgaming.boot.assist</artifactId>
|
|
<version>${wxdgaming.boot.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>wxdgaming.boot</groupId>
|
|
<artifactId>wxdgaming.boot.core</artifactId>
|
|
<version>${wxdgaming.boot.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.22.2</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- 指定 JDK 版本 -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<compilerArgs>
|
|
<arg>--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
|
|
<arg>--add-opens=java.base/java.util=ALL-UNNAMED</arg>
|
|
<arg>--add-exports=java.base/sun.security.pkcs=ALL-UNNAMED</arg>
|
|
<arg>--add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED</arg>
|
|
<arg>--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
|
|
<arg>--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
|
|
<arg>--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
|
|
<arg>--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
|
|
<arg>--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>
|
|
${project.build.directory}/lib
|
|
</outputDirectory>
|
|
<includeScope>runtime</includeScope>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target name="usage">
|
|
<echo message="拷贝资源文件"/>
|
|
|
|
<!-- <copy tofile="${project.build.directory}/run/agent.jar" overwrite="true">-->
|
|
<!-- <fileset dir="${project.build.directory}/lib/" erroronmissingdir="false">-->
|
|
<!-- <include name="org.wxd.agent*.jar"/>-->
|
|
<!-- </fileset>-->
|
|
<!-- </copy>-->
|
|
|
|
<!-- <copy todir="${project.build.directory}/run/config" overwrite="true">-->
|
|
<!-- <fileset dir="${project.basedir}/config" erroronmissingdir="false">-->
|
|
<!-- </fileset>-->
|
|
<!-- </copy>-->
|
|
|
|
<!-- <copy todir="${project.build.directory}/run/cross_config" overwrite="true">-->
|
|
<!-- <fileset dir="${project.basedir}/cross_config" erroronmissingdir="false">-->
|
|
<!-- </fileset>-->
|
|
<!-- </copy>-->
|
|
|
|
<!-- <copy todir="${project.build.directory}/run" overwrite="true">-->
|
|
<!-- <fileset dir="${project.basedir}/sh" erroronmissingdir="false">-->
|
|
<!-- </fileset>-->
|
|
<!-- </copy>-->
|
|
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |