Package scala_maven

Class ScalaTestCompileMojo

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

    @Mojo(name="testCompile",
          defaultPhase=TEST_COMPILE,
          requiresDependencyResolution=TEST,
          threadSafe=true)
    public class ScalaTestCompileMojo
    extends ScalaCompilerSupport
    Compile Scala test source into test-classes. Corresponds roughly to testCompile in maven-compiler-plugin
    • Field Detail

      • skip

        @Parameter(property="maven.test.skip")
        protected boolean skip
        Set this to 'true' to bypass unit tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion.
      • testOutputDir

        @Parameter(defaultValue="${project.build.testOutputDirectory}")
        protected File testOutputDir
        The directory in which to place test compilation output
      • testSourceDir

        @Parameter(defaultValue="${project.build.testSourceDirectory}/../scala")
        protected File testSourceDir
        The directory in which to find test scala source code
      • testAnalysisCacheFile

        @Parameter(property="testAnalysisCacheFile",
                   defaultValue="${project.build.directory}/analysis/test-compile")
        protected File testAnalysisCacheFile
        Analysis cache file for incremental recompilation.
    • Constructor Detail

      • ScalaTestCompileMojo

        public ScalaTestCompileMojo()