MeterSphere/backend/pom.xml

115 lines
4.2 KiB
XML
Raw Permalink Normal View History

2022-10-10 13:41:39 +08:00
<?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>
2023-04-06 14:50:17 +08:00
<packaging>pom</packaging>
<artifactId>backend</artifactId>
<version>${revision}</version>
2022-10-10 13:41:39 +08:00
<modules>
2023-04-06 14:50:17 +08:00
<module>framework</module>
<module>services</module>
2023-04-12 10:19:57 +08:00
<module>app</module>
2022-10-10 13:41:39 +08:00
</modules>
2024-01-16 14:15:45 +08:00
<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>
2024-12-16 15:20:42 +08:00
<version>4.2.0</version>
2024-01-16 14:15:45 +08:00
<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>
2023-08-16 17:22:08 +08:00
<!-- 测试顺序使用字母顺序 -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>alphabetical</runOrder>
2023-08-20 16:23:11 +08:00
<argLine>${argLine} -Dfile.encoding=UTF-8</argLine>
2023-08-16 17:22:08 +08:00
</configuration>
</plugin>
</plugins>
</build>
2022-10-10 13:41:39 +08:00
</project>