1 Star 0 Fork 1

青花/bt-api

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 6.76 KB
一键复制 编辑 原始数据 按行查看 历史
青花 提交于 2023-05-24 16:52 . 加入网关
<?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>2.3.6.RELEASE</version>
<relativePath/>
</parent>
<groupId>org.bt.api</groupId>
<artifactId>bt-api</artifactId>
<packaging>pom</packaging>
<version>1.0</version>
<modules>
<module>api-auth</module>
<module>api-core</module>
<module>api-gateway</module>
</modules>
<properties>
<java.version>1.8</java.version>
<mysql.version>8.0.22</mysql.version>
<mybatis-plus.version>3.5.1</mybatis-plus.version>
<mybatis-plus-generator.version>3.5.2</mybatis-plus-generator.version>
<velocity-engine-core.version>2.3</velocity-engine-core.version>
<hutool-all.version>5.8.16</hutool-all.version>
<mail.version>1.6.2</mail.version>
<fastjson.version>1.2.70</fastjson.version>
<sa-token.version>1.34.0</sa-token.version>
<sa-token-redis>1.34.0</sa-token-redis>
<lombok.version>1.18.16</lombok.version>
<guava.version>28.2-jre</guava.version>
<mybatis-plus-join.version>1.3.11</mybatis-plus-join.version>
<spring-cloud.version>Hoxton.SR12</spring-cloud.version>
<spring-cloud-alibaba.version>2.2.9.RELEASE</spring-cloud-alibaba.version>
</properties>
<dependencyManagement>
<dependencies>
<!--导入springcloud-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--引入spring-cloud-alibaba-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${spring-cloud-alibaba.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<!--对 mybatis-plus 多表查询的扩展-->
<dependency>
<groupId>com.github.yulichang</groupId>
<artifactId>mybatis-plus-join-boot-starter</artifactId>
<version>${mybatis-plus-join.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
<version>${mybatis-plus-generator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId>
<version>${velocity-engine-core.version}</version>
</dependency>
<!--hutool工具包-->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool-all.version}</version>
</dependency>
<!--邮件工具包-->
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>${mail.version}</version>
</dependency>
<!--json工具包-->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<!--sa-token 权限认证包-->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId>
<version>${sa-token.version}</version>
</dependency>
<!--sa-token集成redis包-->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-dao-redis-jackson</artifactId>
<version>${sa-token-redis}</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 加入maven打包方式自动切换-->
<profiles>
<profile>
<id>dev</id>
<properties>
<activation>dev</activation>
<serverAddr>127.0.0.1:8848</serverAddr>
<namespace>4ff441a2-db66-4d0b-b5f6-82de3cfbcc3a</namespace>
<group>DEFAULT_GROUP</group>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<activation>prod</activation>
<serverAddr>127.0.0.1:8848</serverAddr>
<namespace>68566616-2d37-4bad-9e3c-ca02e842f404</namespace>
<group>DEFAULT_GROUP</group>
</properties>
</profile>
</profiles>
<build>
<resources>
<!--解决maven占位符失效问题-->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zzmedu/bt-api.git
git@gitee.com:zzmedu/bt-api.git
zzmedu
bt-api
bt-api
master

搜索帮助