136 lines
4.6 KiB
XML
136 lines
4.6 KiB
XML
<?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.learning</groupId>
|
|
<artifactId>springcloud</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<modules>
|
|
<!-- <module>springcloud-api</module>-->
|
|
<!-- <module>springcloud-provider-dept-8001</module>-->
|
|
<!-- <module>springcloud-consumer-dept-80</module>-->
|
|
<!-- <module>springcloud-eureka-7001</module>-->
|
|
<module>springcloud-api</module>
|
|
<module>springcloud-provider-dept-8001</module>
|
|
<module>springcloud-provider-dept-8002</module>
|
|
<module>springcloud-provider-dept-8003</module>
|
|
<module>springcloud-api</module>
|
|
<module>springcloud-consumer-dept-80</module>
|
|
<module>springcloud-EurekaServer-7001</module>
|
|
<module>springcloud-EurekaServer-7002</module>
|
|
<module>springcloud-EurekaServer-7003</module>
|
|
</modules>
|
|
|
|
<!--打包方式 总项目工程-->
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
|
<springboot.version>2.1.4.RELEASE</springboot.version>
|
|
<springcloud.version>Greenwich.SR1</springcloud.version>
|
|
<junit.version>4.13</junit.version>
|
|
<lombok.version>1.18.12</lombok.version>
|
|
<mybstis.version>2.1.3</mybstis.version>
|
|
<druid.version>1.1.23</druid.version>
|
|
<postgresql.version>42.2.14</postgresql.version>
|
|
<log4j.version>1.2.17</log4j.version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>nexus-aliyun</id>
|
|
<name>nexus-aliyun</name>
|
|
<url>https://maven.aliyun.com/repository/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring</id>
|
|
<url>https://maven.aliyun.com/repository/spring</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!--spring cloud 依赖-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${springcloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!--Spring boot 依赖-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<!--<artifactId>spring-boot-starter-parent</artifactId>-->
|
|
<version>${springboot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!--数据库-->
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${postgresql.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>${druid.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter -->
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<version>${mybstis.version}</version>
|
|
</dependency>
|
|
<!--log4j 日志记录-->
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
<!--单元测试-->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-core -->
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>1.2.3</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |