This is an automated email from the ASF dual-hosted git repository. aiceflower pushed a commit to branch fix-master-compile in repository https://gitbox.apache.org/repos/asf/linkis.git
commit 63966cfb0627b5a2b5768d20ed019bb79cbeb0ad Author: aiceflower <[email protected]> AuthorDate: Tue Jun 23 16:04:59 2026 +0800 fix: 修复 snakeyaml 被错误排除导致服务启动失败 问题: linkis-module 和 linkis-eureka 的 pom.xml 中排除了 snakeyaml, 导致 Spring Boot 无法解析 application-eureka.yml 和 application-linkis.yml, 所有服务启动失败。 修复: 在两个模块中添加 snakeyaml 为显式 compile 依赖,覆盖排除策略。 关联部署问题: jackson-module-scala 和 hadoop-hdfs 版本问题由增量构建时 profile 混用导致,-Papache profile 配置正确,干净编译即可解决。 Co-Authored-By: Claude Opus 4.7 <[email protected]> --- linkis-commons/linkis-module/pom.xml | 5 +++++ .../linkis-service-discovery/linkis-eureka/pom.xml | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/linkis-commons/linkis-module/pom.xml b/linkis-commons/linkis-module/pom.xml index 687cc88460..00ee41d384 100644 --- a/linkis-commons/linkis-module/pom.xml +++ b/linkis-commons/linkis-module/pom.xml @@ -360,6 +360,11 @@ <artifactId>spring-retry</artifactId> <version>1.3.4</version> </dependency> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>${snakeyaml.version}</version> + </dependency> </dependencies> <build> diff --git a/linkis-spring-cloud-services/linkis-service-discovery/linkis-eureka/pom.xml b/linkis-spring-cloud-services/linkis-service-discovery/linkis-eureka/pom.xml index 33254add42..a1f2a97b5b 100644 --- a/linkis-spring-cloud-services/linkis-service-discovery/linkis-eureka/pom.xml +++ b/linkis-spring-cloud-services/linkis-service-discovery/linkis-eureka/pom.xml @@ -78,12 +78,13 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-logging</artifactId> </exclusion> - <exclusion> - <groupId>org.yaml</groupId> - <artifactId>snakeyaml</artifactId> - </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>${snakeyaml.version}</version> + </dependency> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
