Package scala_maven

Class ScalaConsoleMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="console",
          requiresDependencyResolution=TEST,
          inheritByDefault=false,
          requiresDirectInvocation=true,
          executionStrategy="once-per-session")
    public class ScalaConsoleMojo
    extends ScalaMojoSupport
    Run the Scala console with all the classes of the projects (dependencies and builded)
    • Field Detail

      • mainConsole

        @Parameter(property="mainConsole",
                   defaultValue="scala.tools.nsc.MainGenericRunner",
                   required=true)
        protected String mainConsole
        The console to run.
      • useTestClasspath

        @Parameter(property="maven.scala.console.useTestClasspath",
                   defaultValue="true",
                   required=true)
        protected boolean useTestClasspath
        Add the test classpath (include classes from test directory), to the console's classpath ?
      • useRuntimeClasspath

        @Parameter(property="maven.scala.console.useRuntimeClasspath",
                   defaultValue="true",
                   required=true)
        protected boolean useRuntimeClasspath
        Add the runtime classpath, to the console's classpath ?
      • javaRebelPath

        @Parameter(property="javarebel.jar.path")
        protected File javaRebelPath
        Path of the javaRebel jar. If this option is set then the console run with javarebel enabled.
    • Constructor Detail

      • ScalaConsoleMojo

        public ScalaConsoleMojo()