cbt
cbt copied to clipboard
CBT does not support version ranges
https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#MAVEN8903 http://web.archive.org/web/20150214150225/http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution
related https://github.com/sbt/sbt/issues/2954
Examples of things that don't work right now:
MavenDependency("io.grpc", "grpc-netty", "1.2.0")
java.net.URISyntaxException: Illegal character in path at index 49: https://repo1.maven.org/maven2/io/grpc/grpc-core/[1.2.0]/grpc-core-[1.2.0].pom.sha1
implemented support here: https://github.com/cvogt/cbt/pull/535
mh, seems like #535 is incomplete, org.scala-lang:scala-reflect:[2.10,2.12) allows for minor versions such as 2.12.2. So things improved but have not been fully solved.
MavenDependency("io.grpc", "grpc-netty", "1.2.0")
is fixed though now. But MavenDependency("com.github.nikita-volkov", "sext", "0.2.4")
still breaks because MavenDependency(org.scala-lang,scala-reflect,[2.10,2.12)
results in cbt looking for 2.12
, not 2.12.2
, etc.