When using expandWildcardImports, mvn spotless:apply fails for maven multi module projects with the following error:
[ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:3.5.1:apply (default-cli) on project two: There were 1 lint error(s), they must be fixed or suppressed.
[ERROR] src/main/java/two/Two.java:LINE_UNDEFINED expandwildcardimports(java.lang.IllegalStateException) Symbol resolution not configured: to configure consider setting a SymbolResolver in the ParserConfiguration (...)
[ERROR] Resolve these lints or suppress with `<lintSuppressions>`
To reproduce:
git clone https://github.com/pdeneve/spotless-expand-wildcard-imports-issue.git
cd spotless-expand-wildcard-imports-issue
mvn spotless:apply
Spotless mave plugin version used = 3.5.1
When using
expandWildcardImports,mvn spotless:applyfails for maven multi module projects with the following error:To reproduce:
git clone https://github.com/pdeneve/spotless-expand-wildcard-imports-issue.git cd spotless-expand-wildcard-imports-issue mvn spotless:applySpotless mave plugin version used =
3.5.1