Full name:
net.alchim31.maven:scala-maven-plugin:4.8.1:script
Description:
Attributes:
runtime
.2.7
.Name | Type | Since | Description |
---|---|---|---|
<displayCmd> |
boolean |
- |
Display the command line called ? (property 'maven.scala.displayCmd' replaced by 'displayCmd') Default value is: false .User property is: 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 is: 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 is: addScalacArgs . |
<addToClasspath> |
String |
- |
Comma seperated list of directories or jars to add to the classpath User property is: addToClasspath . |
<args> |
String[] |
- |
compiler additional arguments |
<checkMultipleScalaVersions> |
boolean |
- |
Check if every dependencies use the same version of scala-library or scala.compat.version. Default value is: true .User property is: maven.scala.checkConsistency . |
<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 value is: UTF-8 .User property is: project.build.sourceEncoding . |
<excludeScopes> |
String |
- |
Comma separated list of scopes to remove from the classpath. Eg: test,compile User property is: maven.scala.excludeScopes . |
<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 . |
<includeScopes> |
String |
- |
Comma separated list of scopes to add to the classpath. The possible scopes are : test,compile, system, runtime, plugin. By default embedded script into pom.xml run with 'plugin' scope and script read from scriptFile run with 'compile, test, runtime' User property is: maven.scala.includeScopes . |
<javacArgs> |
String[] |
- |
Arguments for javac (when using incremental compiler). User property is: 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 value is: true .User property is: javacGenerateDebugSymbols . |
<jvmArgs> |
String[] |
- |
Jvm Arguments. |
<keepGeneratedScript> |
boolean |
- |
If set to true the Scala classfile that is generated will not be deleted after the goal completes. This is to allows easier debugging of the script especially since line numbers will be wrong because lines are added to the compiled script (see script examples) Default value is: false .User property is: maven.scala.keepGeneratedScript . |
<outputDir> |
File |
- |
The build directory of the project User property is: project.build.directory . |
<pluginArtifacts> |
List<Artifact> |
- |
List of artifacts to run plugin Default value is: ${plugin.artifacts} . |
<release> |
String |
- |
The --release argument for the Java compiler (when using incremental compiler), supported since Java9. User property is: maven.compiler.release . |
<removeFromClasspath> |
String |
- |
Comma separated list of directories or jars to remove from the classpath. This is useful for resolving conflicts in the classpath. For example, the script uses Ant 1.7 and the compiler dependencies pull in Ant 1.5 optional which conflicts and causes a crash User property is: removeFromClasspath . |
<scalaClassName> |
String |
- |
override the className (FQN) of the scala tool User property is: 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 is: scala.compat.version . |
<scalaHome> |
String |
- |
Path to Scala installation to use instead of the artifact (define as dependencies). User property is: 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 value is: org.scala-lang .User property is: scala.organization . |
<scalaVersion> |
String |
- |
Scala 's version to use. (property 'maven.scala.version' replaced by 'scala.version') User property is: scala.version . |
<script> |
String |
- |
The script that will be executed. Either 'scriptFile' or ' script' must be defined. User property is: script . |
<scriptEncoding> |
String |
- |
The encoding of file containing script to be executed. Default value is: UTF-8 .User property is: scriptEncoding . |
<scriptFile> |
File |
- |
The file containing script to be executed. Either 'scriptFile' or 'script' must be defined. User property is: scriptFile . |
<source> |
String |
- |
The -source argument for the Java compiler (when using incremental compiler). User property is: maven.compiler.source . |
<target> |
String |
- |
The -target argument for the Java compiler (when using incremental compiler). User property is: maven.compiler.target . |
<useCanonicalPath> |
boolean |
- |
Should use CanonicalPath to normalize path (true => getCanonicalPath, false => getAbsolutePath) See also: https://github.com/davidB/scala-maven-plugin/issues/50 Default value is: true .User property is: maven.scala.useCanonicalPath . |
java.lang.String
No
addJavacArgs
java.lang.String
No
addScalacArgs
java.lang.String
No
addToClasspath
java.lang.String[]
No
boolean
No
maven.scala.checkConsistency
true
<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
java.lang.String
No
maven.scala.excludeScopes
boolean
No
false
boolean
No
false
boolean
No
true
java.lang.String
No
maven.scala.includeScopes
java.lang.String[]
No
javacArgs
boolean
No
javacGenerateDebugSymbols
true
java.lang.String[]
No
boolean
No
maven.scala.keepGeneratedScript
false
java.io.File
No
project.build.directory
java.util.List<org.apache.maven.artifact.Artifact>
No
${plugin.artifacts}
java.lang.String
No
maven.compiler.release
java.lang.String
No
removeFromClasspath
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.lang.String
No
script
java.lang.String
No
scriptEncoding
UTF-8
java.io.File
No
scriptFile
java.lang.String
No
maven.compiler.source
java.lang.String
No
maven.compiler.target
boolean
No
maven.scala.useCanonicalPath
true