java/pom.xml
2026-06-15 10:25:06 +08:00

68 lines
2.2 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.wangpan</groupId>
<artifactId>wangpan-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>WangPan Parent</name>
<description>网盘系统 - 微服务架构父 POM</description>
<!-- 子模块 -->
<modules>
<module>wangpan-common</module>
<module>wangpan-user-service</module>
<module>wangpan-drive-service</module>
<module>wangpan-tmdb-service</module>
<module>wangpan-gateway</module>
</modules>
<!-- Spring Boot 父依赖 -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.5</version>
<relativePath/>
</parent>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- 依赖版本 -->
<mysql.version>8.0.33</mysql.version>
<minio.version>8.5.7</minio.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- 公共模块 -->
<dependency>
<groupId>com.wangpan</groupId>
<artifactId>wangpan-common</artifactId>
<version>${project.version}</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>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>