1 Star 0 Fork 7

TroyLi/Spring Cloud Alibaba

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 5.72 KB
一键复制 编辑 原始数据 按行查看 历史
心飞为你飞 提交于 2022-03-25 22:53 . init
<?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>
<groupId>com.pangzhao</groupId>
<artifactId>spring-cloud</artifactId>
<packaging>pom</packaging>
<description>SpringCloud</description>
<version>1.0-SNAPSHOT</version>
<!--子工程-->
<modules>
<module>cloud-commons</module>
<!--eureka-->
<module>cloud-eureka-7001</module>
<module>cloud-eureka-7002</module>
<module>cloud-eureka-7003</module>
<!--gateway-->
<module>cloud-gateway-8081</module>
<module>cloud-gateway-8082</module>
<module>cloud-gateway-8083</module>
<!--zuul-->
<module>cloud-gateway-zuul-8081</module>
<module>cloud-gateway-zuul-8082</module>
<module>cloud-gateway-zuul-8083</module>
<!--provider-->
<module>cloud-provider-8001-eureka</module>
<module>cloud-provider-8002-eureka</module>
<module>cloud-provider-8003-zk</module>
<module>cloud-provider-8004-zk</module>
<module>cloud-provider-8005-consul</module>
<module>cloud-provider-8006-consul</module>
<module>cloud-provider-8007-ribbon</module>
<module>cloud-provider-8008-ribbon</module>
<module>cloud-provider-8009-feign</module>
<module>cloud-provider-8010-feign</module>
<module>cloud-provider-8011-hystrix</module>
<module>cloud-provider-8012-hystrix</module>
<!--consumer-->
<module>cloud-consumer-9001-eureka</module>
<module>cloud-consumer-9003-zk</module>
<module>cloud-consumer-9005-consul</module>
<module>cloud-consumer-9007-ribbon</module>
<module>cloud-consumer-9009-feign</module>
<module>cloud-consumer-9011-hystrix</module>
<module>cloud-config-center-3344</module>
<module>cloud-config-client-3355</module>
<module>cloud-config-client-3366</module>
</modules>
<!-- 统一管理jar包版本 -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<junit.version>4.12</junit.version>
<log4j.version>1.2.17</log4j.version>
<lombok.version>1.16.18</lombok.version>
<mysql.version>5.1.47</mysql.version>
<druid.version>1.1.16</druid.version>
<mybatis.spring.boot.version>1.3.2</mybatis.spring.boot.version>
</properties>
<!-- 子模块继承之后,提供作用:锁定版本+子模块不用写groupId和version -->
<dependencyManagement>
<dependencies>
<!--springboot 2.2.2-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.2.2.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--springcloud-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--alibaba-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.1.0.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--mysql-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
<!--连接池-->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>${druid.version}</version>
</dependency>
<!--mybatis-->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis.spring.boot.version}</version>
</dependency>
<!--log4j-->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<!--junit-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
<!--lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>SpringCloud</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.2.RELEASE</version>
<configuration>
<fork>true</fork>
<addResources>true</addResources>
</configuration>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/troyli1987/spring-cloud-sgg.git
[email protected]:troyli1987/spring-cloud-sgg.git
troyli1987
spring-cloud-sgg
Spring Cloud Alibaba
master

搜索帮助