<?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>io.metersphere</groupId> <artifactId>metersphere</artifactId> <version>${revision}</version> </parent> <packaging>pom</packaging> <artifactId>backend</artifactId> <version>${revision}</version> <modules> <module>framework</module> <module>services</module> <module>app</module> </modules> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <artifactId>android-json</artifactId> <groupId>com.vaadin.external.google</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.mock-server</groupId> <artifactId>mockserver-netty</artifactId> <scope>test</scope> <version>${mockserver-client-java.version}</version> </dependency> <dependency> <groupId>org.mock-server</groupId> <artifactId>mockserver-client-java</artifactId> <version>${mockserver-client-java.version}</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>commons-logging</artifactId> <groupId>commons-logging</groupId> </exclusion> </exclusions> </dependency> <!-- embedded 配置 --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-bootstrap</artifactId> <version>4.1.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.playtika.testcontainers</groupId> <artifactId>embedded-mysql</artifactId> <version>${embedded.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.playtika.testcontainers</groupId> <artifactId>embedded-redis</artifactId> <version>${embedded.version}</version> <scope>test</scope> </dependency> <!-- 内置 minio 和 kafka --> <dependency> <groupId>com.playtika.testcontainers</groupId> <artifactId>embedded-minio</artifactId> <version>${embedded.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.playtika.testcontainers</groupId> <artifactId>embedded-kafka</artifactId> <version>${embedded.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.playtika.testcontainers</groupId> <artifactId>embedded-mockserver</artifactId> <version>${embedded.version}</version> <scope>test</scope> </dependency> <!-- end embedded 配置 --> </dependencies> <!-- 测试顺序使用字母顺序 --> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <runOrder>alphabetical</runOrder> <argLine>${argLine} -Dfile.encoding=UTF-8</argLine> </configuration> </plugin> </plugins> </build> </project>