Skip to content

Unclear warning message from analyze-dep-mgt - only ":jar was excluded", no artifact or group ID present #1493

@kevinburkesegment

Description

@kevinburkesegment

Affected version

3.8.1

Bug description

I am running maven-dependency-plugin 3.8.1 on a company project. Here is the warning that I get:

[INFO] --- dependency:3.8.1:analyze-dep-mgt (additional-analysis) @ myproject ---
[INFO] Found Resolved Dependency/DependencyManagement mismatches:
[INFO] 	Ignoring Direct Dependencies.
[INFO] :jar was excluded in DepMgt, but version 2.0.17 has been found in the dependency tree.
[INFO] :jar was excluded in DepMgt, but version 2.1.5 has been found in the dependency tree.
[INFO] :jar was excluded in DepMgt, but version 1.3.5 has been found in the dependency tree.
[INFO] :jar was excluded in DepMgt, but version 3.0.1 has been found in the dependency tree.
[INFO] :jar was excluded in DepMgt, but version 3.0.1 has been found in the dependency tree.
[INFO] :jar was excluded in DepMgt, but version 2.2 has been found in the dependency tree.
[INFO] :jar was excluded in DepMgt, but version 2.0.1 has been found in the dependency tree.
[INFO] :jar was excluded in DepMgt, but version 2.2 has been found in the dependency tree.
[WARNING] Potential problems found in Dependency Management

It's difficult to determine which jars these represent, without the artifact or group ID's present.

I'm pretty new to Java and not sure the best way to troubleshoot, if the problem isn't immediately obvious from this description let me know how I can help. The configuration has multiple parents - one parent specifies some stuff in pluginManagement and then this plugin has two different execution blocks, this is the second one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions