chore(deps): align guava in tools/dotcms-cli with the BOM (32.1.3 → 33.7.2)
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 66/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java
- Lĩnh vực
- backend, build-system
Hướng nghiên cứu
Read tools/dotcms-cli/pom.xml and the Quarkus BOM import, then run the provided dependency:list command to confirm the resolved Guava version. Add a dependencyManagement entry before the Quarkus BOM import to pin Guava to 33.7.2-jre or later. Verify the resolution, JVM build and tests, native profile build and binary, and the full module dependency tree.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
tools/dotcms-cli resolves com.google.guava:guava:32.1.3-jre, while the rest of the project moved to 33.7.2-jre in #38493 / #38603. The bump does not reach the CLI because the CLI module inherits dotcms-parent and never imports bom/application/pom.xml, where the new guava.version property lives. Its Guava comes instead from the Quarkus platform BOM (quarkus.platform.version 3.6.0, tools/dotcms-cli/pom.xml:24), pulled in transitively — tools/dotcms-cli/api-data-model/pom.xml:80-81 declares jackson-datatype-guava.
Reproduce with:
./mvnw dependency:list -f tools/dotcms-cli/pom.xml -Dincludes=com.google.guava:guava
[INFO] com.google.guava:guava:jar:32.1.3-jre:compile
32.1.3-jre is inside the range covered by CVE-2026-102554 (GHSA-xxph-c9ww-hj94, affected <= 33.7.1). The CLI is a REST/JSON client and does not deserialize Java object streams from a remote source, so the deserialization path the advisory describes is not reachable there the way it is on the server; cicd_scheduled_image-cve-scan.yml also only scans the dotcms/dotcms images, not the CLI distribution. The reason to align it is that we publish the artifact and anyone scanning it will flag the version.
Quarkus itself does not need to be upgraded. Guava is not a platform artifact, so a dependencyManagement entry declared ahead of the Quarkus BOM import in tools/dotcms-cli/pom.xml pins it.
Acceptance Criteria
-
tools/dotcms-cliresolves guava 33.7.2-jre or later; the command above prints only that version - The CLI still builds and its tests pass on the JVM
- The
nativeprofile still builds and the native binary runs — GraalVM is the place a library change shows up, through reflection and build-time initialization - Confirm nothing else in the module tree consumes Guava in a way the bump breaks (the full
dependency:treewas not completed while filing this)
Additional Context
Found while QA-ing #38493. No change expected in CLI behavior; this is a version alignment.
- Ngôn ngữ chính
- Java
- Star
- 972
- Fork
- 493
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 228
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dotCMS/core
-
dotCMS : UVE OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Opening content from Content Search replaces the "Search" breadcrumb in the new Edit Content screenĐang mởdotCMS: New Edit Contentlet OKR : Customer Support Team : Falcon Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Escape the Binary field hint in the legacy content editor so an apostrophe doesn't break the fieldĐang mởOKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 2 ngày
-
dotCMS : Permissions OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
Issue tương tự
-
desktop grp:about type:graphics-bug ui-public
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
it-at-m/Wahllokalsystem#3846 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Area/Connector module/solace Priority/Low Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
ballerina-platform/ballerina-library#9849 ·
Maintainer thường phản hồi trong vòng 1 ngày