|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org_scala_tools_maven.ScalaMojoSupport
org_scala_tools_maven.ScalaScriptMojo
public class ScalaScriptMojo

Run a scala script.
| Field Summary | |
|---|---|
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 File |
scriptFile
The file containing script to be executed. |
protected org.apache.maven.execution.MavenSession |
session
The Maven Session Object |
| Fields inherited from class org_scala_tools_maven.ScalaMojoSupport |
|---|
args, checkMultipleScalaVersions, compilerPlugins, dependencies, displayCmd, factory, failOnMultipleScalaVersions, forceUseArgFile, fork, jvmArgs, localRepo, mavenProjectBuilder, project, remoteRepos, resolver, SCALA_GROUPID, SCALA_LIBRARY_ARTIFACTID, scalaClassName |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ScalaScriptMojo()
|
|
| Method Summary | |
|---|---|
protected void |
doExecute()
|
| Methods inherited from class org_scala_tools_maven.ScalaMojoSupport |
|---|
addCompilerPluginOptions, addToClasspath, addToClasspath, addToClasspath, checkScalaVersion, execute, findScalaVersion, getDependencies, getEmptyScalaCommand, getScalaCommand, isJavaSupportedByCompiler, resolveArtifactDependencies, resolveDependencyArtifacts |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected File outputDir
protected File scriptFile
protected String script
protected boolean keepGeneratedScript
protected String includeScopes
protected String excludeScopes
protected String addToClasspath
protected String removeFromClasspath
protected org.apache.maven.execution.MavenSession session
| Constructor Detail |
|---|
public ScalaScriptMojo()
| Method Detail |
|---|
protected void doExecute()
throws Exception
doExecute in class ScalaMojoSupportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||