cbt icon indicating copy to clipboard operation
cbt copied to clipboard

CBT does not support version ranges

Open cvogt opened this issue 8 years ago • 5 comments

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

cvogt avatar Apr 26 '16 19:04 cvogt

related https://github.com/sbt/sbt/issues/2954

cvogt avatar Mar 12 '17 15:03 cvogt

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

cvogt avatar Apr 11 '17 15:04 cvogt

implemented support here: https://github.com/cvogt/cbt/pull/535

cvogt avatar Jun 22 '17 04:06 cvogt

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.

cvogt avatar Jun 22 '17 04:06 cvogt

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.

cvogt avatar Jun 22 '17 04:06 cvogt