|
@@ -3,7 +3,12 @@
|
|
|
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.1.2</version>
|
|
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
|
+ </parent>
|
|
|
<groupId>com.iohao.mmo</groupId>
|
|
|
<artifactId>game</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
@@ -19,7 +24,7 @@
|
|
|
<module>one-application</module>
|
|
|
<module>one-client</module>
|
|
|
|
|
|
-
|
|
|
+ <module>logic/a-logic-common</module>
|
|
|
<module>logic/all-logic</module>
|
|
|
<!-- 游戏逻辑服 - 登录 -->
|
|
|
<module>logic/login-logic</module>
|
|
@@ -43,7 +48,8 @@
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
|
<!-- 项目版本 -->
|
|
|
- <ioGame.version>17.1.47</ioGame.version>
|
|
|
+ <ioGame.version>17.1.48</ioGame.version>
|
|
|
+ <spring-boot.version>3.1.2</spring-boot.version>
|
|
|
<!-- lombok 消除冗长的 Java 代码 https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
<lombok.version>1.18.24</lombok.version>
|
|
|
<!-- redis internal : https://mvnrepository.com/artifact/org.redisson/redisson -->
|
|
@@ -63,148 +69,96 @@
|
|
|
<junit.version>4.13.2</junit.version>
|
|
|
<!-- 演示用的假数据 https://mvnrepository.com/artifact/com.github.javafaker/javafaker -->
|
|
|
<javafaker.version>1.0.2</javafaker.version>
|
|
|
-
|
|
|
- <!-- slf4j https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
|
|
|
- <slf4j-api.version>1.7.36</slf4j-api.version>
|
|
|
- <!-- slf4j https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
|
|
|
- <logback.version>1.2.11</logback.version>
|
|
|
-
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
- <!-- 单体应用启动 -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.iohao.game</groupId>
|
|
|
- <artifactId>run-one-netty</artifactId>
|
|
|
- <version>${ioGame.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!-- https://mvnrepository.com/artifact/com.github.javafaker/javafaker -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.javafaker</groupId>
|
|
|
- <artifactId>javafaker</artifactId>
|
|
|
- <version>1.0.2</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- lombok 简化 java 代码 -->
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
- <version>${lombok.version}</version>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
-
|
|
|
- <!-- https://mvnrepository.com/artifact/org.mapstruct/mapstruct -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.mapstruct</groupId>
|
|
|
- <artifactId>mapstruct</artifactId>
|
|
|
- <version>${org.mapstruct.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>slf4j-api</artifactId>
|
|
|
- <version>${slf4j-api.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
|
|
|
- <dependency>
|
|
|
- <groupId>ch.qos.logback</groupId>
|
|
|
- <artifactId>logback-classic</artifactId>
|
|
|
- <version>${logback.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- https://mvnrepository.com/artifact/junit/junit -->
|
|
|
- <dependency>
|
|
|
- <groupId>junit</groupId>
|
|
|
- <artifactId>junit</artifactId>
|
|
|
- <version>${junit.version}</version>
|
|
|
- <scope>compile</scope>
|
|
|
- </dependency>
|
|
|
</dependencies>
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-clean-plugin -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-clean-plugin</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <!--
|
|
|
- 编译插件
|
|
|
- mvn compile
|
|
|
- To compile your test sources, you'll do:
|
|
|
- mvn test-compile
|
|
|
- -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.8.1</version>
|
|
|
- <configuration>
|
|
|
- <compilerVersion>${java.version}</compilerVersion>
|
|
|
- <source>${java.version}</source>
|
|
|
- <target>${java.version}</target>
|
|
|
- <!-- maven 3.6.2及之后加上编译参数,可以让我们在运行期获取方法参数名称。 -->
|
|
|
- <parameters>true</parameters>
|
|
|
- <skip>true</skip>
|
|
|
- <!-- JDK9+ with module-info.java -->
|
|
|
- <annotationProcessorPaths>
|
|
|
- <!-- 实体映射工具 -->
|
|
|
- <path>
|
|
|
- <groupId>org.mapstruct</groupId>
|
|
|
- <artifactId>mapstruct-processor</artifactId>
|
|
|
- <version>${org.mapstruct.version}</version>
|
|
|
- </path>
|
|
|
-
|
|
|
- <!-- lombok 消除冗长的 Java 代码 -->
|
|
|
- <path>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <version>${lombok.version}</version>
|
|
|
- </path>
|
|
|
- <!-- additional annotation processor required as of Lombok 1.18.16 -->
|
|
|
- <!-- mapStruct 支持 lombok -->
|
|
|
- <path>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok-mapstruct-binding</artifactId>
|
|
|
- <version>0.2.0</version>
|
|
|
- </path>
|
|
|
- </annotationProcessorPaths>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <!-- 打包时跳过单元测试 https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>3.0.0-M5</version>
|
|
|
- <configuration>
|
|
|
- <skipTests>true</skipTests>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <!-- 打包源码 https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-source-plugin</artifactId>
|
|
|
- <version>3.2.1</version>
|
|
|
- <configuration>
|
|
|
- <attach>true</attach>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>compile</phase>
|
|
|
- <goals>
|
|
|
- <goal>jar</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
+<!-- <build>-->
|
|
|
+<!-- <plugins>-->
|
|
|
+<!-- <!– https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-clean-plugin –>-->
|
|
|
+<!-- <plugin>-->
|
|
|
+<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
+<!-- <artifactId>maven-clean-plugin</artifactId>-->
|
|
|
+<!-- <version>3.1.0</version>-->
|
|
|
+<!-- </plugin>-->
|
|
|
+
|
|
|
+<!-- <!–-->
|
|
|
+<!-- 编译插件-->
|
|
|
+<!-- mvn compile-->
|
|
|
+<!-- To compile your test sources, you'll do:-->
|
|
|
+<!-- mvn test-compile-->
|
|
|
+<!-- –>-->
|
|
|
+<!-- <plugin>-->
|
|
|
+<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
+<!-- <artifactId>maven-compiler-plugin</artifactId>-->
|
|
|
+<!-- <version>3.8.1</version>-->
|
|
|
+<!-- <configuration>-->
|
|
|
+<!-- <compilerVersion>${java.version}</compilerVersion>-->
|
|
|
+<!-- <source>${java.version}</source>-->
|
|
|
+<!-- <target>${java.version}</target>-->
|
|
|
+<!-- <!– maven 3.6.2及之后加上编译参数,可以让我们在运行期获取方法参数名称。 –>-->
|
|
|
+<!-- <parameters>true</parameters>-->
|
|
|
+<!-- <skip>true</skip>-->
|
|
|
+<!-- <!– JDK9+ with module-info.java –>-->
|
|
|
+<!-- <annotationProcessorPaths>-->
|
|
|
+<!-- <!– 实体映射工具 –>-->
|
|
|
+<!-- <path>-->
|
|
|
+<!-- <groupId>org.mapstruct</groupId>-->
|
|
|
+<!-- <artifactId>mapstruct-processor</artifactId>-->
|
|
|
+<!-- <version>${org.mapstruct.version}</version>-->
|
|
|
+<!-- </path>-->
|
|
|
+
|
|
|
+<!-- <!– lombok 消除冗长的 Java 代码 –>-->
|
|
|
+<!-- <path>-->
|
|
|
+<!-- <groupId>org.projectlombok</groupId>-->
|
|
|
+<!-- <artifactId>lombok</artifactId>-->
|
|
|
+<!-- <version>${lombok.version}</version>-->
|
|
|
+<!-- </path>-->
|
|
|
+<!-- <!– additional annotation processor required as of Lombok 1.18.16 –>-->
|
|
|
+<!-- <!– mapStruct 支持 lombok –>-->
|
|
|
+<!-- <path>-->
|
|
|
+<!-- <groupId>org.projectlombok</groupId>-->
|
|
|
+<!-- <artifactId>lombok-mapstruct-binding</artifactId>-->
|
|
|
+<!-- <version>0.2.0</version>-->
|
|
|
+<!-- </path>-->
|
|
|
+<!-- </annotationProcessorPaths>-->
|
|
|
+<!-- </configuration>-->
|
|
|
+<!-- </plugin>-->
|
|
|
+
|
|
|
+<!-- <!– 打包时跳过单元测试 https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin –>-->
|
|
|
+<!-- <plugin>-->
|
|
|
+<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
+<!-- <artifactId>maven-surefire-plugin</artifactId>-->
|
|
|
+<!-- <version>3.0.0-M5</version>-->
|
|
|
+<!-- <configuration>-->
|
|
|
+<!-- <skipTests>true</skipTests>-->
|
|
|
+<!-- </configuration>-->
|
|
|
+<!-- </plugin>-->
|
|
|
+
|
|
|
+<!-- <!– 打包源码 https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin –>-->
|
|
|
+<!-- <plugin>-->
|
|
|
+<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
+<!-- <artifactId>maven-source-plugin</artifactId>-->
|
|
|
+<!-- <version>3.2.1</version>-->
|
|
|
+<!-- <configuration>-->
|
|
|
+<!-- <attach>true</attach>-->
|
|
|
+<!-- </configuration>-->
|
|
|
+<!-- <executions>-->
|
|
|
+<!-- <execution>-->
|
|
|
+<!-- <phase>compile</phase>-->
|
|
|
+<!-- <goals>-->
|
|
|
+<!-- <goal>jar</goal>-->
|
|
|
+<!-- </goals>-->
|
|
|
+<!-- </execution>-->
|
|
|
+<!-- </executions>-->
|
|
|
+<!-- </plugin>-->
|
|
|
+
|
|
|
+<!-- </plugins>-->
|
|
|
+<!-- </build>-->
|
|
|
|
|
|
</project>
|