Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[MPLUGIN-350] Extend @Parameter with input/output option

オープン
#653 コメント 18 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java

調査の方向性

まず、@Parameter アノテーションと、issue で説明されている plugin.xml の生成または表現を特定します。既存のパラメーター形式を維持しながら、入力パラメーターと出力パラメーターをどのように表現すべきかを判断します。これには、入力パラメーターが影響を受ける出力をどのように参照するかも含まれます。メタデータでこれらの関係を表現でき、後方互換性が維持されれば完了です。

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

説明

enhancement

Robert Scholte opened MPLUGIN-350 and commented

By knowing if parameters are input or output parameters, it is possible to improve our builds. It will be possible to create DAGs and chain the execution blocks much smarter.
The Maven Extension created by Gradle heavily relies on this kind of information.

It is probably easier to use new annotations instead of adding a (required) status-field to @Parameter
Looking at the plugin.xml it looks quite easy to solve this and stay backwards compatible: the file looks now like:

<parameters>
  <parameter>
    ...
  </parameter>
</parameters>

With plexus-magic the following should still work:

<parameters>
  <input>
    ...
  </input>
  <output>
    ...
  </output>
</parameters>

Input parameters should refer to the outputParameter it effects. E.g. if a inputParameter has only effect on the logger and it is changed, it will not effect the resulting artifact, which could improve faster incremental builds.


0 votes, 6 watchers

主要言語
Java
スター
63
フォーク
76
平均マージ
20時間 52分
マージ済み PR(30日)
21

環境構築

  • 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 を短くまとめたダイジェスト。