diffplug / diffplug/spotless

Warning with maven multi module projects for non-installed dependencies.

オープン
#2,947 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
5.6k
フォーク
559
平均マージ
1日 14時間
マージ済み PR(30日)
43

説明

Given a maven multi module project for which a module depends an another module within the same multi module project and the other module has not been installed, the following warning is issued when doing `mvn spotless apply` or `mvn spotless check` (even without the `expandWildcardImports` option):

```
[WARNING] Could not resolve project dependencies for expandWildcardImports: Unable to resolve dependencies
```

To reproduce:

```
git clone https://github.com/pdeneve/spotless-expand-wildcard-imports-issue.git
cd spotless-expand-wildcard-imports-issue
git checkout warning
mvn spotless:apply
```

Spotless maven plugin version used = `3.5.1`

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

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

調査の方向性

リンクされたマルチモジュール Maven プロジェクトで、`warning` checkout と `mvn spotless:apply` または `mvn spotless:check` を使用して警告を再現します。まず、`expandWildcardImports` に対する Maven plugin の依存関係解決を追跡します。そのオプションを使用していない場合に、同じ reactor 内のモジュール間にある未インストールの依存関係が警告を生成しなくなれば完了です。

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

評価

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

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

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