Skip to content

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

Description

@pdeneve

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions