apache / apache/maven-plugin-tools

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

オープン
#653 コメント 18 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement priority:major
主要言語
Java
スター
64
フォーク
71
平均マージ
12時間 24分
マージ済み PR(30日)
32

説明

**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** opened **[MPLUGIN-350](https://issues.apache.org/jira/browse/MPLUGIN-350?redirect=false)** 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:

```xml


...

```

With plexus-magic the following should still work:

```xml


...


...

```

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by locating the @Parameter annotation and the plugin.xml generation or representation described in the issue. Determine how input and output parameters should be represented while preserving the existing parameter format, including how input parameters refer to affected outputs. Done means the metadata can express these relationships and remains backwards compatible.

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

評価

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

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

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