public class ScalaScriptMojo extends ScalaMojoSupport
Modifier and Type | Field and Description |
---|---|
protected String |
addToClasspath
Comma seperated list of directories or jars to add to the classpath
|
protected String |
excludeScopes
Comma separated list of scopes to remove from the classpath.
|
protected String |
includeScopes
Comma separated list of scopes to add to the classpath.
|
protected boolean |
keepGeneratedScript
If set to true the Scala classfile that is generated will not be deleted
after the goal completes.
|
protected File |
outputDir
The build directory of the project
|
protected String |
removeFromClasspath
Comma separated list of directories or jars to remove from the classpath.
|
protected String |
script
The script that will be executed.
|
protected String |
scriptEncoding
The encoding of file containing script to be executed.
|
protected File |
scriptFile
The file containing script to be executed.
|
addJavacArgs, addScalacArgs, args, checkMultipleScalaVersions, compilerPlugins, dependencies, displayCmd, encoding, factory, failOnMultipleScalaVersions, forceUseArgFile, fork, JAR, javacArgs, javacGenerateDebugSymbols, jvmArgs, localRepo, mavenProjectBuilder, POM, project, reactorProjects, remoteRepos, resolver, SCALA_COMPILER_ARTIFACTID, SCALA_LIBRARY_ARTIFACTID, scalaClassName, session, source, target, toolchainManager, useCanonicalPath
Constructor and Description |
---|
ScalaScriptMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute() |
addCompilerPluginOptions, addCompilerToClasspath, addLibraryToClasspath, addToClasspath, addToClasspath, addToClasspath, addToClasspath, checkScalaVersion, execute, findScalaVersion, findVersionFromDependencies, findVersionFromPluginArtifacts, getAllDependencies, getArtifactJar, getArtifactJar, getCompilerDependencies, getCompilerJar, getCompilerPluginOptions, getDependencies, getEmptyScalaCommand, getEmptyScalaCommand, getJavacOptions, getLibraryJar, getPluginArtifactJar, getPluginArtifactJar, getScalaCommand, getScalaCommand, getScalaOptions, getScalaOrganization, isJavaSupportedByCompiler, resolveArtifactDependencies, resolveDependencyArtifacts, resolveDependencyArtifacts, scalaCompilerArtifact
protected File outputDir
protected File scriptFile
protected String scriptEncoding
protected String script
protected boolean keepGeneratedScript
protected String includeScopes
protected String excludeScopes
protected String addToClasspath
protected String removeFromClasspath
protected void doExecute() throws Exception
doExecute
in class ScalaMojoSupport
Exception
Copyright © 2012–2017. All rights reserved.