mirror of
https://github.com/iflytek/skillhub.git
synced 2026-11-27 23:58:51 +00:00
flyway-core was managed by Spring Boot 3.2.3 (9.22.3) while flyway-database-postgresql was pinned to 10.10.0. Flyway 9.22.3 reports PostgreSQL 16 and 17 as untested. Pin both artifacts to 10.20.1, the first line with PostgreSQL 17 support and the version Spring Boot 3.4 manages. Refs #1067 Signed-off-by: 千乘妍 (Xiaoyaner) <xiaoyaner0201@users.noreply.github.com>
217 lines
8.4 KiB
XML
217 lines
8.4 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>
|
|
|
|
<parent>
|
|
<groupId>com.iflytek.skillhub</groupId>
|
|
<artifactId>skillhub-parent</artifactId>
|
|
<version>0.1.0</version>
|
|
</parent>
|
|
|
|
<artifactId>skillhub-app</artifactId>
|
|
|
|
<properties>
|
|
<testcontainers.version>1.21.4</testcontainers.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Private local images use the official moderation upload token flow; the existing MinIO client cannot use that token. -->
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>green20220302</artifactId>
|
|
<version>3.3.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun.oss</groupId>
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
<version>3.16.3</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-tracing-bridge-otel</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.opentelemetry</groupId>
|
|
<artifactId>opentelemetry-exporter-otlp</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.opentelemetry</groupId>
|
|
<artifactId>opentelemetry-sdk-logs</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.skywalking</groupId>
|
|
<artifactId>apm-toolkit-logback-1.x</artifactId>
|
|
<version>9.6.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.logstash.logback</groupId>
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
<version>7.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
<version>2.3.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iflytek.skillhub</groupId>
|
|
<artifactId>skillhub-domain</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iflytek.skillhub</groupId>
|
|
<artifactId>skillhub-auth</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iflytek.skillhub</groupId>
|
|
<artifactId>skillhub-infra</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iflytek.skillhub</groupId>
|
|
<artifactId>skillhub-search</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iflytek.skillhub</groupId>
|
|
<artifactId>skillhub-notification</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.iflytek.skillhub</groupId>
|
|
<artifactId>skillhub-github-sync</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-database-postgresql</artifactId>
|
|
<version>${flyway.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.session</groupId>
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.redisson</groupId>
|
|
<artifactId>redisson</artifactId>
|
|
<version>3.51.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<scope>runtime</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>default-test</id>
|
|
<configuration>
|
|
<excludedGroups>process-global-diagnostics,process-global-otel-context</excludedGroups>
|
|
</configuration>
|
|
</execution>
|
|
<!-- Raw OTel contexts initialize JVM-global ContextStorage before Boot can
|
|
register its MDC wrapper. Each tagged class gets a fresh process. -->
|
|
<execution>
|
|
<id>isolated-otel-context</id>
|
|
<goals><goal>test</goal></goals>
|
|
<configuration>
|
|
<groups>process-global-otel-context</groups>
|
|
<includes>
|
|
<include>**/BusinessLogs*Test.java</include>
|
|
</includes>
|
|
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
|
|
<forkCount>1</forkCount>
|
|
<reuseForks>false</reuseForks>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>isolated-diagnostics</id>
|
|
<goals><goal>test</goal></goals>
|
|
<configuration>
|
|
<groups>process-global-diagnostics</groups>
|
|
<includes>
|
|
<include>**/BusinessLogsDiagnosticsTest.java</include>
|
|
</includes>
|
|
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
|
|
<forkCount>1</forkCount>
|
|
<reuseForks>false</reuseForks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|