ci: test scope move to backend
This commit is contained in:
parent
a96fb520c5
commit
a5a7e3012a
|
@ -18,6 +18,86 @@
|
|||
<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>
|
||||
|
|
81
pom.xml
81
pom.xml
|
@ -90,86 +90,7 @@
|
|||
<module>backend</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>
|
||||
<resources>
|
||||
|
|
Loading…
Reference in New Issue