jline for scala-2.11.0?

137 views
Skip to first unread message

leithaus

unread,
Aug 21, 2014, 2:46:52 PM8/21/14
to scala-l...@googlegroups.com
Dear Scalarazzi and Scalawags,

i notice that mvnrepository indicates that the version available for jline is one of scala-2.11.0-Mx for ( 1 <= x <= 3 ). However the maven scala plugin is expecting artifact org.scala-lang:jline:jar:2.11.0. Thus, invoking mvn scala:console results in the complaint.

[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.5:console (default-cli) on project agentservices-store-ia: wrap: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Could not find artifact org.scala-lang:jline:jar:2.11.0 in scala-tools.org (https://oss.sonatype.org/content/groups/scala-tools/)

Would it be possible to deploy jline for scala-2.11.0?

Love to all,

--greg

Antoine Gourlay

unread,
Aug 21, 2014, 3:06:20 PM8/21/14
to scala-l...@googlegroups.com

There is no org.scala-lang:jline for 2.11.0: Scala migrated to the official jline in 2.11.0-M4, so the scala-specific fork of jline is gone and you can just depend on the official jline.

I don’t know exactly what the maven plugin is doing, but it should download the one listed in the dependencies of scala-compiler, like any other normal dependency (it is in the pom.xml, marked as optional).

Cheers,

Antoine



--
You received this message because you are subscribed to the Google Groups "scala-language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-languag...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages