Skip to content

[MRESOLVER-673] Error message emitted by Resolver should be much clearer in case of missing or bad dependency version #1349

Open
@jira-importer

Description

@jira-importer

Michael Vorburger opened MRESOLVER-673 and commented

As discussed Tamas Cservenak in enola-dev/enola#1040 (comment), and creating this issue just for his convenience, quote:

The error message emitted by Resolver: "''dependencies.dependency.version' for com.github.multiformats:java-multihash:v1.3.4 is missing." was very misleading, but what happens in reality, is that Resolver shows us GAE (groupId, artifactId, extension!), but as we see version (we "know" v1.3.4 is a version) this error makes no sense. Resolver could improve this message, as all would be clear from beginning if message would be something like "'dependencies.dependency.version' for G=com.github.multiformats; A=java-multihash; E=v1.3.4 is missing."

PS: I didn't set the Affects Version because I couldn't easily figure out which version of maven-resolver is used by https://github.com/jbangdev/jbang.


Issue Links:

  • MNG-8676 Improve model validator error messages
    ("is fixed by")

Remote Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:minorMinor loss of function, or other problem where easy workaround is present

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions