Using maven-scala-plugin I can start the Scala console with all the dependencies like:
mvn scala:console
However, I get a lot more poor REPLs than Scala's own (the one you get when you run scala with no arguments). For instance. it skips automatic completion and history , the arrow keys just prints its code (instead of moving the cursor), etc.
Is this a known issue, or is it just a wrong setup in my setup? First of all, what are the alternatives to scala:console (i.e. REPL with all the dependencies and compiled code)?
Plugin configuration in my pom.xml :
<plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> <version>2.15.0</version> <executions> <execution> <goals> <goal>compile</goal> <goal>testCompile</goal> </goals> <configuration> <args> <arg>-make:transitive</arg> <arg>-dependencyfile</arg> <arg>${project.build.directory}/.scala_dependencies</arg> </args> </configuration> </execution> </executions> </plugin>
source share