104 lines
3.5 KiB
XML
104 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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.zhn</groupId>
|
|
<artifactId>zhn-dev</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.0.0</version>
|
|
<modules>
|
|
<module>zhn-common</module>
|
|
<module>zhn-gateway</module>
|
|
<module>zhn-auth</module>
|
|
<module>zhn-modules</module>
|
|
</modules>
|
|
|
|
<!-- 规定SpringBoot版本 -->
|
|
<!-- 父级pom文件 主要用于规定项目依赖的各个版本,用于进行项目版本约束 -->
|
|
<parent>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<version>2.6.2</version>
|
|
<relativePath/>
|
|
</parent>
|
|
<!-- 依赖声明 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- SpringCloud 微服务 -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>2021.0.0</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- SpringCloud Alibaba 微服务 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
<version>2021.1</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- Alibaba Nacos 配置 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
<artifactId>nacos-client</artifactId>
|
|
<version>2.0.4</version>
|
|
</dependency>
|
|
<!-- common依赖(公共模块声明) -->
|
|
<dependency>
|
|
<groupId>com.zhn</groupId>
|
|
<artifactId>zhn-common</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>menghang-public</id>
|
|
<name>menghang公共</name>
|
|
<url>http://124.221.216.186:8081/repository/maven-public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>menghang-release</id>
|
|
<name>menghang-releases</name>
|
|
<url>http://124.221.216.186:8081/repository/maven-releases/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
</project>
|