[MPLUGIN-536] Allow generation of documentation for nested POJOs used as @Parameters

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java
領域
documentation

調査の方向性

まず、生成されたサイトドキュメントと、@Parameter でマークされたフィールドの mojo での処理を追跡し、次に、ネストされた POJO が現在どのように表現されているかを調べます。sources、dependency sources、JavaDoc JARs、またはカスタムの @Documentation アノテーションのどれが意図された設計なのかを明確にします。done には、完全修飾クラス名だけでなく、ドキュメント化されたネスト属性を含める必要があります。

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

説明

enhancement

Ashley Scopes opened MPLUGIN-536 and commented

As a plugin developer of a plugin with a few dozen complex options, I'd like to see a new feature where by the generated site documentation and help mojo document the fields of nested pojos that are present with javadoc comments.

@Parameter
private Thing thing;
public class Thing {
  public Foo getFoo() { ... }
  public void setFoo(Foo foo) { ... }
}

Currently the plugins just report the fully qualified class name as a dead link, which means nested attributes have to be documented manually and the consistency of this varies wildly between projects.

I'd either like to see the ability for the documentation to be generated from project sources, dependency sources, or JavaDoc JARs, or the ability to provide a custom @Documentation annotation to document attributes in nested objects.

This could be specified within a "schemas" section at the bottom of the goal HTML page.


No further details from MPLUGIN-536

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