Plugin goals need the plugin declared in Gradle, Leiningen and sbt

Đang mở
#579 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/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ệ
python
Lĩnh vực
build-system, tooling

Hướng nghiên cứu

Start by reading the checks that handle Maven plugin declarations and the Gradle, Leiningen, and sbt task cases described in the issue; compare them with the behavior added in PR #499. Reproduce each listed case with a small fixture and check that it reports no run with the missing plugin named, while applied core Gradle plugins such as jacoco still count.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

#499 made Maven plugin goals and Mix tasks count only when the plugin or dependency is declared. Other build tools still credit undeclared plugins:

  • Gradle jacocoTestReport, pitest, dependencyCheckAnalyze and spotbugsMain with only id 'java';
  • lein cloverage with no plugin in project.clj;
  • sbt coverage with no project/plugins.sbt.

Expected

The same check as Maven's: the goal counts only when the build file declares the plugin that provides it. Gradle tasks that come with a core plugin (jacoco) count when that plugin is applied.

Done when

Each case above is no run, with the missing plugin named.

Split from #476. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Ngôn ngữ chính
Python
Star
4
Fork
1
Merge trung bình
6 giờ 31 phút
Pull request đã merge (30 ngày)
238

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cpp-best-practices/project_validator

Tất cả issue của cpp-best-practices/project_validator

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.