0 Star 1 Fork 1

Max-Qiu/demo-SpringCloud2021

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 3.74 KB
一键复制 编辑 原始数据 按行查看 历史
Max-Qiu 提交于 2024-04-13 15:41 . 更新依赖
<?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>2.6.15</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.maxqiu.demo</groupId>
<artifactId>demo-SpringCloud2021</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<java.version>11</java.version>
</properties>
<modules>
<!-- 注册中心 -->
<module>demo-SpringCloud-Discovery</module>
<!-- 配置中心 -->
<module>demo-SpringCloud-Config</module>
<!-- 服务调用 -->
<module>demo-SpringCloud-Feign</module>
<!-- 服务端 -->
<module>demo-SpringCloud-Server</module>
<!-- 公共实体对象 -->
<module>demo-SpringCloud-Common</module>
<!-- 网关 -->
<module>demo-SpringCloud-Gateway</module>
<!-- 链路追踪 -->
<module>demo-SpringCloud-Sleuth</module>
</modules>
<dependencies>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<!-- SpringCloud -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.9</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- SpringCloud Alibaba -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2021.0.6.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 公共模块 -->
<dependency>
<groupId>com.maxqiu.demo</groupId>
<artifactId>demo-SpringCloud-Common</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- Nacos -->
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<version>2.2.4</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<!-- SpringBoot默认打包插件 -->
<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>
<!-- maven 打包时跳过测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Max-Qiu/demo-SpringCloud2021.git
git@gitee.com:Max-Qiu/demo-SpringCloud2021.git
Max-Qiu
demo-SpringCloud2021
demo-SpringCloud2021
main

搜索帮助