Full name:
org.scala-tools:maven-scala-plugin:2.14.2-SNAPSHOT:cctest
Description:
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| displayCmd | boolean | - | Display the command line called ? (property
'maven.scala.displayCmd' replaced by 'displayCmd') Default value is: false. |
| scalaClassName | String | - | className (FQN) of the scala tool to provide as Default value is: scala.tools.nsc.Main. |
| Name | Type | Since | Description |
|---|---|---|---|
| args | String[] | - | compiler additionnals arguments |
| checkMultipleScalaVersions | boolean | - | Check if every dependencies use the same version of scala-library. Default value is: true. |
| compilerPlugins | BasicArtifact[] | - | Compiler plugin dependencies to use when compiling. ex: |
| dependencies | BasicArtifact[] | - | Additional dependencies/jar to add to classpath to run
"scalaClassName" (scope and optional field not supported) ex :
<dependencies>
<dependency>
<groupId>org.scala-tools</groupId>
<artifactId>scala-compiler-addon</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
|
| excludes | Set | - | A list of exclusion filters for the compiler. ex :
<excludes>
<exclude>SomeBadFile.scala</exclude>
</excludes>
|
| failOnMultipleScalaVersions | boolean | - | Determines if a detection of multiple scala versions in the
dependencies will cause the build to fail. Default value is: false. |
| forceUseArgFile | boolean | - | Force the use of an external ArgFile to run any forked process. Default value is: false. |
| fork | boolean | - | Forks the execution of scalac into a separate process. Default value is: true. |
| includes | Set | - | A list of inclusion filters for the compiler. ex :
<includes>
<include>SomeFile.scala</include>
</includes>
|
| jvmArgs | String[] | - | Jvm Arguments. |
| localRepositoryPath | File | - | The local repository for caching artifacts. It is strongly
recommended to specify a path to an isolated repository like
${project.build.directory}/it-repo. Otherwise, your
ordinary local repository will be used, potentially soiling it with
broken artifacts. Default value is: ${settings.localRepository}. |
| mainOutputDir | File | - | The output directory for compilation. |
| mainSourceDir | File | - | The main directory containing scala source for compilation |
| notifyCompilation | boolean | - | notifyCompilation if true then print a message "path: compiling"
for each root directory or files that will be compiled. Usefull for
debug, and for integration with Editor/IDE to reset markers only
for compiled files. Default value is: true. |
| once | boolean | - | Define if cc should run once or in infinite loop. (useful for test
or working with editor) Default value is: false. |
| recompileMode | String | - | compilation-mode to use when sources was previously compiled and
there is at least one change: "modified-only" => only modified
source was recompiled (pre 2.13 behavior), "all" => every source
are recompiled Default value is: all. |
| scalaVersion | String | - | Scala 's version to use. (property 'maven.scala.version' replaced
by 'scala.version') |
| sendJavaToScalac | boolean | - | Enables/Disables sending java source to the scala compiler. Default value is: true. |
| test | String | - | Specify this parameter to run individual tests by file name,
overriding the includes/excludes parameters. Each
pattern you specify here will be used to create an include pattern
formatted like **/${test}.java, so you can just type
"-Dtest=MyTest" to run a single test called "foo/MyTest.java". This
parameter will override the TestNG suiteXmlFiles parameter. |
| testOutputDir | File | - | The directory to place test compilation output in |
| testSourceDir | File | - | The directory containing test source for compilation |
| useFsc | boolean | - | Define if fsc should be used, else scalac is used. fsc =>
scala.tools.nsc.CompileClient, scalac => scala.tools.nsc.Main. Default value is: true. |
| verbose | boolean | - | Turns verbose output on. Default value is: false. |
args:
<dependencies>
<dependency>
<groupId>org.scala-tools</groupId>
<artifactId>scala-compiler-addon</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<excludes>
<exclude>SomeBadFile.scala</exclude>
</excludes>
fork:
<includes>
<include>SomeFile.scala</include>
</includes>
once:
test: