Full name:
net.alchim31.maven:scala-maven-plugin:4.9.2:cc
Description:
Compile the main and test scala source directory in continuous (infinite loop). !! This is an util goal for commandline usage only (Do not use or call it in a pom) !!!
Attributes:
test
.Name | Type | Since | Description |
---|---|---|---|
<displayCmd> |
boolean |
- |
Display the command line called ? (property 'maven.scala.displayCmd' replaced by 'displayCmd') Default: false User Property: displayCmd |
Name | Type | Since | Description |
---|---|---|---|
<addJavacArgs> |
String |
- |
Alternative method for specifying javac arguments (when using incremental compiler). Can be used from command line with -DaddJavacArgs=arg1|arg2|arg3|... rather than in pom.xml. User Property: addJavacArgs |
<addScalacArgs> |
String |
- |
Additional parameter to use to call the main class. Use this parameter only from command line ("-DaddScalacArgs=arg1|arg2|arg3|..."), not from pom.xml. To define compiler arguments in pom.xml see the "args" parameter. User Property: addScalacArgs |
<additionalDependencies> |
Dependency[] |
- |
Additional dependencies to be added to the classpath. This can be useful in situations where a dependency is needed at compile time, but should not be treated as a dependency in the published POM. User Property: additionalDependencies |
<analysisCacheFile> |
File |
- |
Analysis cache file for incremental recompilation.
Note: Allows extending for 3rd-party usages Default: ${project.build.directory}/analysis/compile User Property: analysisCacheFile |
<args> |
String[] |
- |
compiler additional arguments |
<checkMultipleScalaVersions> |
boolean |
- |
Check if every dependencies use the same version of scala-library or scala.compat.version. Default: true User Property: maven.scala.checkConsistency |
<compileOrder> |
CompileOrder |
- |
Compile order for Scala and Java sources for sbt incremental compile.
Can be Mixed, JavaThenScala, or ScalaThenJava. Default: Mixed User Property: compileOrder |
<compilerPlugins> |
BasicArtifact[] |
- |
Compiler plugin dependencies to use when compiling. ex:
<compilerPlugins> <compilerPlugin> <groupId>my.scala.plugin</groupId> <artifactId>amazingPlugin</artifactId> <version>1.0-SNAPSHOT</version> </compilerPlugin> </compilerPlugins> |
<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> |
<encoding> |
String |
- |
The -encoding argument for the Java compiler. (when using incremental compiler). Default: UTF-8 User Property: project.build.sourceEncoding |
<excludes> |
Set<String> |
- |
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: false |
<forceUseArgFile> |
boolean |
- |
Force the use of an external ArgFile to run any forked process. Default: false |
<fork> |
boolean |
- |
Forks the execution of scalac into a separate process. Default: true |
<includes> |
Set<String> |
- |
A list of inclusion filters for the compiler. ex :
<includes> <include>SomeFile.scala</include> </includes> |
<javacArgs> |
String[] |
- |
Arguments for javac (when using incremental compiler). User Property: javacArgs |
<javacGenerateDebugSymbols> |
boolean |
- |
Whether to instruct javac to generate debug symbols (when using incremental compiler) See also: ://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#debug Default: true User Property: javacGenerateDebugSymbols |
<jvmArgs> |
String[] |
- |
Jvm Arguments. |
<mainOutputDir> |
File |
- |
The output directory for compilation. User Property: project.build.outputDirectory |
<mainSourceDir> |
File |
- |
The main directory containing scala source for compilation
Note: Allows extending for 3rd-party usages Default: ${project.build.sourceDirectory}/../scala |
<notifyCompilation> |
boolean |
- |
notifyCompilation if true then print a message "path: compiling" for each root directory or files that will be compiled. Useful for debug, and for integration with Editor/IDE to reset markers only for compiled files. Default: true User Property: notifyCompilation |
<once> |
boolean |
- |
Define if cc should run once or in infinite loop. (useful for test or working with editor)
Note: Allows extending for 3rd-party usages Default: false User Property: once |
<pluginArtifacts> |
List<Artifact> |
- |
List of artifacts to run plugin Default: ${plugin.artifacts} |
<recompileMode> |
ScalaCompilerSupport$RecompileMode |
- |
Recompile mode to use when sources were previously compiled and there is at least one change, see RecompileMode .Default: incremental User Property: recompileMode |
<release> |
String |
- |
The --release argument for the Java compiler (when using incremental compiler), supported since Java9. User Property: maven.compiler.release |
<scalaClassName> |
String |
- |
override the className (FQN) of the scala tool User Property: maven.scala.className |
<scalaCompatVersion> |
String |
- |
Scala 's version to use to check binary compatibility (like suffix in artifactId of dependency). If it is defined then it is used to checkMultipleScalaVersions User Property: scala.compat.version |
<scalaHome> |
String |
- |
Path to Scala installation to use instead of the artifact (define as dependencies). User Property: scala.home |
<scalaOrganization> |
String |
- |
Organization/group ID of the Scala used in the project. Default value is 'org.scala-lang'. This is an advanced setting used for clones of the Scala Language. It should be disregarded in standard use cases. Default: org.scala-lang User Property: scala.organization |
<scalaVersion> |
String |
- |
Scala 's version to use. (property 'maven.scala.version' replaced by 'scala.version') User Property: scala.version |
<secondaryCacheDir> |
File |
- |
Location of the incremental compile will install compiled compiler bridge jars. Default is sbt's "~/.sbt/1.0/zinc/org.scala-sbt". User Property: secondaryCacheDir |
<sendJavaToScalac> |
boolean |
- |
Enables/Disables sending java source to the scala compiler. Default: true |
<source> |
String |
- |
The -source argument for the Java compiler (when using incremental compiler). User Property: maven.compiler.source |
<target> |
String |
- |
The -target argument for the Java compiler (when using incremental compiler). User Property: maven.compiler.target |
<testAnalysisCacheFile> |
File |
- |
Analysis cache file for incremental recompilation.
Note: Allows extending for 3rd-party usages Default: ${project.build.directory}/analysis/test-compile User Property: testAnalysisCacheFile |
<testOutputDir> |
File |
- |
The directory to place test compilation output in
Note: Allows extending for 3rd-party usages Default: ${project.build.testOutputDirectory} |
<testSourceDir> |
File |
- |
The directory containing test source for compilation
Note: Allows extending for 3rd-party usages Default: ${project.build.testSourceDirectory}/../scala |
<useCanonicalPath> |
boolean |
- |
Should use CanonicalPath to normalize path (true => getCanonicalPath, false => getAbsolutePath) See also: https://github.com/davidB/scala-maven-plugin/issues/50 Default: true User Property: maven.scala.useCanonicalPath |
<useFsc> |
boolean |
- |
Define if fsc should be used, else scalac is used. fsc => scala.tools.nsc.CompileClient, scalac => scala.tools.nsc.Main.
Note: Allows extending for 3rd-party usages Default: true User Property: fsc |
<verbose> |
boolean |
- |
Turns verbose output on.
Note: Allows extending for 3rd-party usages Default: false User Property: verbose |
java.lang.String
No
addJavacArgs
java.lang.String
No
addScalacArgs
org.apache.maven.model.Dependency[]
No
additionalDependencies
Note: Allows extending for 3rd-party usages
java.io.File
No
analysisCacheFile
${project.build.directory}/analysis/compile
java.lang.String[]
No
boolean
No
maven.scala.checkConsistency
true
Can be Mixed, JavaThenScala, or ScalaThenJava.
xsbti.compile.CompileOrder
No
compileOrder
Mixed
<compilerPlugins> <compilerPlugin> <groupId>my.scala.plugin</groupId> <artifactId>amazingPlugin</artifactId> <version>1.0-SNAPSHOT</version> </compilerPlugin> </compilerPlugins>
scala_maven.BasicArtifact[]
No
<dependencies> <dependency> <groupId>org.scala-tools</groupId> <artifactId>scala-compiler-addon</artifactId> <version>1.0-SNAPSHOT</version> </dependency> </dependencies>
scala_maven.BasicArtifact[]
No
boolean
Yes
displayCmd
false
java.lang.String
No
project.build.sourceEncoding
UTF-8
<excludes> <exclude>SomeBadFile.scala</exclude> </excludes>
java.util.Set<java.lang.String>
No
boolean
No
false
boolean
No
false
boolean
No
true
<includes> <include>SomeFile.scala</include> </includes>
java.util.Set<java.lang.String>
No
java.lang.String[]
No
javacArgs
boolean
No
javacGenerateDebugSymbols
true
java.lang.String[]
No
java.io.File
No
project.build.outputDirectory
Note: Allows extending for 3rd-party usages
java.io.File
No
${project.build.sourceDirectory}/../scala
boolean
No
notifyCompilation
true
Note: Allows extending for 3rd-party usages
boolean
No
once
false
java.util.List<org.apache.maven.artifact.Artifact>
No
${plugin.artifacts}
RecompileMode
.scala_maven.ScalaCompilerSupport$RecompileMode
No
recompileMode
incremental
java.lang.String
No
maven.compiler.release
java.lang.String
No
maven.scala.className
java.lang.String
No
scala.compat.version
java.lang.String
No
scala.home
java.lang.String
No
scala.organization
org.scala-lang
java.lang.String
No
scala.version
java.io.File
No
secondaryCacheDir
boolean
No
true
java.lang.String
No
maven.compiler.source
java.lang.String
No
maven.compiler.target
Note: Allows extending for 3rd-party usages
java.io.File
No
testAnalysisCacheFile
${project.build.directory}/analysis/test-compile
Note: Allows extending for 3rd-party usages
java.io.File
No
${project.build.testOutputDirectory}
Note: Allows extending for 3rd-party usages
java.io.File
No
${project.build.testSourceDirectory}/../scala
boolean
No
maven.scala.useCanonicalPath
true
Note: Allows extending for 3rd-party usages
boolean
No
fsc
true
Note: Allows extending for 3rd-party usages
boolean
No
verbose
false