123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275 |
- <?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>3.3.6</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
- <groupId>com.xs</groupId>
- <artifactId>tg-game-core</artifactId>
- <version>1.0.0</version>
- <name>xs-tg-game</name>
- <description>xs-tg-game</description>
- <properties>
- <java.version>17</java.version>
- <mybatis-plus.version>3.5.9</mybatis-plus.version>
- <sa-token.version>1.39.0</sa-token.version>
- <mysql-connector.version>8.4.0</mysql-connector.version>
- <hutool.version>5.8.25</hutool.version>
- <fastjson2.version>2.0.53</fastjson2.version>
- <knife4j.version>4.4.0</knife4j.version>
- <redisson.version>3.36.0</redisson.version>
- <velocity-engine.version>2.4.1</velocity-engine.version>
- <mysql-connector.version>8.4.0</mysql-connector.version>
- <esapi.version>2.5.3.1</esapi.version>
- <bcprov-jdk15to18.version>1.76</bcprov-jdk15to18.version>
- <bcprov-jdk15on.version>1.70</bcprov-jdk15on.version>
- <freemarket.version>2.3.33</freemarket.version>
- <cosid.version>2.9.9</cosid.version>
- <mica-ip2region.version>3.2.6</mica-ip2region.version>
- </properties>
- <!-- 使用 maven bom 管理依赖,减少版本号的冲突。-->
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-bom</artifactId>
- <version>${mybatis-plus.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <exclusions>
- <!-- Exclude the Tomcat dependency -->
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-validation</artifactId>
- </dependency>
- <!-- aop -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-aop</artifactId>
- </dependency>
- <!-- redis -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <!-- undertow替换Tomcat -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-undertow</artifactId>
- </dependency>
- <!-- mybatis-plus -->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
- </dependency>
- <!-- jdk 11+ 分页插件 -->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-jsqlparser</artifactId>
- </dependency>
- <!-- mybatis-plus 代码生成 -->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-generator</artifactId>
- <version>${mybatis-plus.version}</version>
- </dependency>
- <!-- FreeMarker(模板引擎) -->
- <dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>${freemarket.version}</version>
- </dependency>
- <!-- mysql数据库驱动 -->
- <dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- <version>${mysql-connector.version}</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/me.ahoo.cosid/cosid-spring-boot-starter -->
- <dependency>
- <groupId>me.ahoo.cosid</groupId>
- <artifactId>cosid-spring-boot-starter</artifactId>
- <version>${cosid.version}</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/me.ahoo.cosid/cosid-spring-redis -->
- <dependency>
- <groupId>me.ahoo.cosid</groupId>
- <artifactId>cosid-spring-redis</artifactId>
- <version>${cosid.version}</version>
- </dependency>
- <!--分布式锁-->
- <dependency>
- <groupId>org.redisson</groupId>
- <artifactId>redisson</artifactId>
- <version>${redisson.version}</version>
- </dependency>
- <!-- sa-token 权限认证, 在线文档:https://sa-token.cc/ -->
- <dependency>
- <groupId>cn.dev33</groupId>
- <artifactId>sa-token-spring-boot3-starter</artifactId>
- <version>${sa-token.version}</version>
- </dependency>
- <!-- Sa-Token 整合 Redis (使用 fastjson2 序列化方式) -->
- <dependency>
- <groupId>cn.dev33</groupId>
- <artifactId>sa-token-redis-fastjson2</artifactId>
- <version>${sa-token.version}</version>
- </dependency>
- <!-- Sa-Token 整合 jwt -->
- <dependency>
- <groupId>cn.dev33</groupId>
- <artifactId>sa-token-jwt</artifactId>
- <version>${sa-token.version}</version>
- <!-- 排除hutool -->
- <exclusions>
- <exclusion>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-jwt</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- hutool -->
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>${hutool.version}</version>
- </dependency>
- <!-- fastjson2 -->
- <dependency>
- <groupId>com.alibaba.fastjson2</groupId>
- <artifactId>fastjson2-extension-spring6</artifactId>
- <version>${fastjson2.version}</version>
- </dependency>
- <!-- kinf4j接口文档集成 -->
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
- <version>${knife4j.version}</version>
- </dependency>
- <!-- mica-ip2region -->
- <dependency>
- <groupId>net.dreamlu</groupId>
- <artifactId>mica-ip2region</artifactId>
- <version>${mica-ip2region.version}</version>
- </dependency>
- <!-- mica-core -->
- <dependency>
- <groupId>net.dreamlu</groupId>
- <artifactId>mica-core</artifactId>
- <version>${mica-ip2region.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-amqp</artifactId>
- </dependency>
- <!-- esapi 防xss攻击 -->
- <dependency>
- <groupId>org.owasp.esapi</groupId>
- <artifactId>esapi</artifactId>
- <version>${esapi.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- httpclient -->
- <dependency>
- <groupId>org.apache.httpcomponents.client5</groupId>
- <artifactId>httpclient5</artifactId>
- <version>5.1.4</version>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15to18</artifactId>
- <version>${bcprov-jdk15to18.version}</version>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- <version>${bcprov-jdk15on.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- </dependencies>
- <build>
- <finalName>tg-game-app</finalName>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <mainClass>com.xs.core.XsTgGameApplication</mainClass>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|