Maven 3.10.0 requires usage of JSR330 or

オープン
#1,233 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java

調査の方向性

Start by reproducing the warnings with Maven 3.10.0 and inspect this plugin's component injection usage, especially where it interacts with plugins such as spotbugs-maven-plugin. Determine the applicable JSR 330 requirements for Maven 3, then verify that the warnings disappear and dependencies are still reported to the correct plugins.

索引モデルが issue の本文から書いたものです。

説明

bug
Affected version

3.10.0

Bug description

Usage of maven 3.10.0 is throwing lots of warnings now due to this plugin usage not complying with injection requirements of maven. This hits used plugins that themselves (spotbugs-maven-plugin) already use JSR330 which is likely to cause reporting to wrong plugins from users.

- Plugin uses Plexus Component requirements (@Component annotation).  Use Maven 4 Dependency Injection (for v4 plugins) or JSR 330 annotations (for v3 plugins) to inject dependencies instead.

I think this needs immediate attention since maven 3.10.0 is now out in the wild.

主要言語
Java
スター
63
フォーク
78
平均マージ
1日 4時間
マージ済み PR(30日)
23

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/maven-plugin-tools のほかの issue

apache/maven-plugin-tools の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。