apache / apache/maven-source-plugin

target/generated-sources/annotations/ generated by IDE is included in -sources.jar

オープン
#239 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Java
スター
37
フォーク
38
平均マージ
18時間 47分
マージ済み PR(30日)
5

説明

### Affected version

3.3.1

### Bug description

see https://github.com/avaje/avaje-http/issues/650

not sure at all that there is a real bug in the plugin, or if it is default configuration, or...

but it's at least surprising that `sources-jar` contains a `target` directory, even if content is a concurrent IDE run

would be useful to understand what adds this content and if it would make sense to enhance defaults so that type of directories is not added, even if found on disk for strange reason (IDE parallel build in this case): better resiliency, more adverse events preparation
(notice: I don't want hacks, if we discover that there is a good reason for that result)

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

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

調査の方向性

まず 3.3.1 sources-jar の動作を再現し、target/generated-sources/annotations を含むデフォルトのソース選択設定を追跡します。コンテキストとしてリンク先の avaje-http issue を読みます。原因が特定され、正当化されたデフォルト変更について、IDE によって同時に生成された target の内容がパッケージ化されないことを検証できれば完了です。

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

評価

技術スタック
java
領域
build-system
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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