Why is there an extra _3
in download url when importing?
#1636
-
OS: MacOS My tag is set ~ amm
Loading...
Welcome to the Ammonite Repl 3.0.2 (Scala 3.3.5 Java 23.0.2)
@ import $ivy.`com.lihaoyi::scalatags:0.11.0`
https://repo1.maven.org/maven2/com/lihaoyi/scalatags_3/0.11.0/scalatags_3-0.11.0.pom
100.0% [##########] 1.4 KiB (4.0 KiB / s)
import $ivy.$
@ import $ivy.`edu.berkeley.cs::chisel3_2.13:3.6.0`
Failed to resolve ivy dependencies:Error downloading edu.berkeley.cs:chisel3_2.13_3:3.6.0
not found: /Users/xxx/.ivy2/local/edu.berkeley.cs/chisel3_2.13_3/3.6.0/ivys/ivy.xml
not found: https://repo1.maven.org/maven2/edu/berkeley/cs/chisel3_2.13_3/3.6.0/chisel3_2.13_3-3.6.0.pom |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The This should fix your issue: -@ import $ivy.`edu.berkeley.cs::chisel3_2.13:3.6.0`
+@ import $ivy.`edu.berkeley.cs:chisel3_2.13:3.6.0` If there is also a -@ import $ivy.`edu.berkeley.cs::chisel3_2.13:3.6.0`
+@ import $ivy.`edu.berkeley.cs::chisel3:3.6.0` |
Beta Was this translation helpful? Give feedback.
The
_3
and_2.13
suffixes denote the Scala binary platform. (Those were historically not compatible, but_3
and_2.13
are compatible.) If you use the<group>::<artifact>:<version>
notation with two colons (::
) between group and artifact, this suffix is managed for you. If you use a single colon, you can and need to manage it yourself:<group>:<artifact>:<version>
.This should fix your issue:
If there is also a
chisel3_3
version (maybe in the future?), you could instead use: