vlsi commented on issue #11391: URL: https://github.com/apache/maven/issues/11391#issuecomment-3532070359
>We could create a strategy which, instead of saying "choose higher version", said "choose the version with matching SHA 256". I do not said that we need to do that, just mentioning as a possibility. I am afraid the selection based on hash is impractical for Java ecosystem at the moment: * Imagine there's https://repo1.maven.org/maven2/commons-io/commons-io/ How would you find which one corresponds to hash `12ccc61c573aed8a193f9727dc33795eba29d7c5`? Maven repository layout is not designed to fetch artifacts by their hash. * How would you perform conflict resolution if different libraries require different hash values for `commons-io`? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
