Michael Vorburger created MRESOLVER-673:
-------------------------------------------

             Summary: Error message emitted by Resolver should be much clearer 
in case of missing or bad dependency version
                 Key: MRESOLVER-673
                 URL: https://issues.apache.org/jira/browse/MRESOLVER-673
             Project: Maven Resolver
          Issue Type: Bug
            Reporter: Michael Vorburger


As discussed [~cstamas] in 
https://github.com/enola-dev/enola/issues/1040#issuecomment-2644865526, and 
creating this issue just for his convenience, quote:

bq. 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|https://github.com/jbangdev/jbang/blob/004cc6444d23995ca62b62b17f4853691395a231/build.gradle#L92]
 of maven-resolver is used by https://github.com/jbangdev/jbang.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to