Comment out explicit check against M2_PATTERN#13
Conversation
|
Sorry I've no idea what changing |
|
@dwijnand I appreciate the candid honesty. It's impossible to keep track of all the details, so feel free to ask for explanation of what's going on. Note that these are facts that I've dug out recently, so might not be 100% accurate. When Ivy sees dynamic revisions like version range, it queries the repository for the list of all available versions for the given artifact. The method that gets called eventually is ivy/src/java/org/apache/ivy/plugins/resolver/IBiblioResolver.java Lines 392 to 433 in aa94ce7 It first determines that the repository is fully compatible with Maven using |
|
But why does sbt (not ivy) change the maven pattern? Also, given a release off of the head of this PR is now in sbt master, this should be merged. |
|
sbt's pattern encodes |
Comment out explicit check against M2_PATTERN
|
Oh, those. I see. Huh, but that was years ago! Ok thanks. |
REF sbt/sbt#2005, and potentially relates to some of the SNAPSHOT issues listed on sbt/sbt#1780.
Ivy checks if the repository patterns ends with
M2_PATTERNto see ifmaven-metadata.xmlshould be used. Because sbt customizes the pattern, Ivy will end up not usingmaven-metadata.xml./review @jsuereth, @dwijnand