This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Adding dependency on jline to compiler pom

1 reply
Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Does anyone have any reason why we should *not* add the jline artifact as a dependency of scala-compiler from 2.8.0 on?  I believe it's an optional dependency, but adding it in the pom will make life easier for maven-repo-aware dependency managers.

-Josh
david.bernard
Joined: 2009-01-08,
User offline. Last seen 1 year 27 weeks ago.
Re: [maven-and-scala] Adding dependency on jline to compiler pom
it's optional (only for REPL) => you suggest to add it with <optional>true</optional> in the pom ?

note : maven-scala-plugin 2.11-SNAPSHOT add jline in the classpath when calling scala:console (useless in other case)

On Wed, Jun 10, 2009 at 14:59, Josh Suereth <joshua.suereth@gmail.com> wrote:
Does anyone have any reason why we should *not* add the jline artifact as a dependency of scala-compiler from 2.8.0 on?  I believe it's an optional dependency, but adding it in the pom will make life easier for maven-repo-aware dependency managers.

-Josh

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland