加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 8.31 KB
一键复制 编辑 原始数据 按行查看 历史
凯里 提交于 2024-12-23 14:32 . 新增nacos注册中心
<?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>
<artifactId>cloud-frame-foundation</artifactId>
<groupId>com.txc.cloud</groupId>
<name>cloud-frame-foundation</name>
<version>1.0.0</version>
<modules>
<module>cloud-auth</module>
<module>cloud-gateway</module>
<module>cloud-openfeign</module>
<module>cloud-common</module>
<module>cloud-pay</module>
<module>cloud-admin</module>
<module>cloud-websocket</module>
<module>cloud-mp-generator</module>
<module>cloud-auto-upgrade</module>
<module>cloud-nacos</module>
</modules>
<packaging>pom</packaging>
<properties>
<spring-boot.version>2.7.18</spring-boot.version>
<spring-cloud.version>2021.0.5</spring-cloud.version>
<spring-cloud-alibaba.version>2021.0.6.0</spring-cloud-alibaba.version>
<java.version>11</java.version>
<version>1.0.0</version>
<redisson.version>3.19.0</redisson.version>
<mysql.connector.java.version>8.0.21</mysql.connector.java.version>
<mybatis-plus.version>3.5.7</mybatis-plus.version>
<jsqlparser.version>4.6</jsqlparser.version>
<lombok.version>1.18.34</lombok.version>
<jwt.version>0.12.6</jwt.version>
<hutool.version>5.8.32</hutool.version>
<nacos.client.version>2.2.0</nacos.client.version>
<javax.servlet-api.version>4.0.1</javax.servlet-api.version>
<flyway.version>9.16.3</flyway.version>
</properties>
<!-- 依赖声明 -->
<dependencyManagement>
<dependencies>
<!-- 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>
<!-- spring cloud版本管理 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 依赖控制 -->
<dependency>
<groupId>com.txc.cloud</groupId>
<artifactId>common-core</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.txc.cloud</groupId>
<artifactId>common-mybatis-plus</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.txc.cloud</groupId>
<artifactId>common-spring-security</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.txc.cloud</groupId>
<artifactId>common-springmvc</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.txc.cloud</groupId>
<artifactId>cloud-openfeign</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>com.txc.cloud</groupId>
<artifactId>common-open-api</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet-api.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.java.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>${redisson.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis-plus.version}</version>
<exclusions>
<exclusion>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<version>${nacos.client.version}</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>${flyway.version}</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
<version>${flyway.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!--当前环境-->
<profile.name>dev</profile.name>
<!--配置文件前缀-->
<prefix.name>sys</prefix.name>
<!--Nacos配置中心地址-->
<nacos.server-addr>127.0.0.1</nacos.server-addr>
<nacos.server-port>8847</nacos.server-port>
<!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
<nacos.namespace>cloud-frame</nacos.namespace>
<!--Nacos配置分组名称-->
<config.group>DEFAULT_GROUP</config.group>
<nacos.username>nacos</nacos.username>
<nacos.password>nacos</nacos.password>
</properties>
</profile>
</profiles>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化