Skip to content

[MDEP-779] dependency:analyze should list the classes that cause a used undeclared dependency #1285

@jira-importer

Description

@jira-importer

Joseph Walton opened MDEP-779 and commented

When dependency:analyze shows that a module has used classes from an undeclared dependency, it may not be clear which classes are involved. In particular, on large projects where modules and packages don't have a clear 1:1 relationship.

It would be useful if there was (opt-in?) display of the classes involved. This could make it significantly quicker to identify the specific issue without switching to another tool.

For example:

[WARNING] Used undeclared dependencies found:
[WARNING]    xml-apis:xml-apis:jar:1.0.b2:compile
[WARNING]        class org.apache.xmlcommons.Version

Issue Links:

  • MSHARED-1020 Include class names in used undeclared dependencies
    ("is blocked by")
  • MSHARED-632 Expose which dependency classes are used and where

Remote Links:

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions