<?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.7.1</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>com.tuoheng</groupId> <artifactId>tuoheng_airport_platform</artifactId> <version>0.0.1-SNAPSHOT</version> <!--父模块打包类型必须为pom--> <packaging>pom</packaging> <name>tuoheng_airport_platform</name> <description>Demo project for Spring Boot</description> <!-- 子模块依赖 --> <modules> <module>tuoheng-common</module> <module>tuoheng-generator</module> <module>tuoheng-system</module> <module>tuoheng-admin</module> </modules> <properties> <java.version>1.8</java.version> <!-- 表示打包时跳过mvn test --> <maven.test.skip>true</maven.test.skip> <!--全局配置项目版本号--> <version>0.0.1-SNAPSHOT</version> <spring-cloud.version>2021.0.3</spring-cloud.version> </properties> <!-- 依赖声明 --> <dependencyManagement> <dependencies> <!-- SpringCloud依赖 --> <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.tuoheng</groupId> <artifactId>tuoheng-common</artifactId> <version>${version}</version> </dependency> <dependency> <groupId>com.tuoheng</groupId> <artifactId>tuoheng-generator</artifactId> <version>${version}</version> </dependency> <dependency> <groupId>com.tuoheng</groupId> <artifactId>tuoheng-system</artifactId> <version>${version}</version> </dependency> <dependency> <groupId>com.tuoheng</groupId> <artifactId>tuoheng-admin</artifactId> <version>${version}</version> </dependency> <!-- 第三方依赖 --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.10</version> <optional>true</optional> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.62</version> </dependency> </dependencies> </dependencyManagement> <repositories> <repository> <id>public</id> <name>aliyun nexus</name> <url>https://maven.aliyun.com/repository/public</url> <releases> <enabled>true</enabled> </releases> </repository> </repositories> <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>