diffplug / diffplug/spotless

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

Open
#2,947 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

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`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.