<?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.saas</groupId> <artifactId>community-admin-consumer</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <parent> <groupId>com.saas</groupId> <artifactId>community-parent</artifactId> <version>1.0-SNAPSHOT</version> </parent> <name>community-admin-consumer</name> <url>http://www.example.com</url> <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> </properties> <dependencies> <!-- *************************** api模块依赖 ***************************************** --> <dependency> <groupId>com.saas</groupId> <artifactId>community-api</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <!-- *************************** api模块依赖 ***************************************** --> <!-- *************************** model模块依赖 ***************************************** --> <dependency> <groupId>com.saas</groupId> <artifactId>community-model</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <!-- *************************** model模块依赖 ***************************************** --> <!-- *************************** common模块依赖 ***************************************** --> <dependency> <groupId>com.saas</groupId> <artifactId>community-common</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <!-- *************************** common模块依赖 ***************************************** --> <!-- *************************** minio依赖 ***************************************** --> <dependency> <groupId>io.minio</groupId> <artifactId>minio</artifactId> <scope>provided</scope> <exclusions> <exclusion> <artifactId>okhttp</artifactId> <groupId>com.squareup.okhttp3</groupId> </exclusion> </exclusions> </dependency> <!-- *************************** minio依赖 ***************************************** --> </dependencies> <build> <finalName>community-admin-consumer</finalName> <!-- xxx.jar没有主清单属性--> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.2.2.RELEASE</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>8</source> <target>8</target> </configuration> </plugin> </plugins> </build> </project>