|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo com.google.code.sbt.AbstractSBTCompileMojo com.google.code.sbt.SBTCompileMojo
@Mojo(name="compile", defaultPhase=COMPILE, requiresDependencyResolution=COMPILE) public class SBTCompileMojo
Compile Scala and Java sources
Field Summary |
---|
Fields inherited from class com.google.code.sbt.AbstractSBTCompileMojo |
---|
COMPILER_INTEGRATION_ARTIFACT_ID, COMPILER_INTERFACE_ARTIFACT_ID, COMPILER_INTERFACE_CLASSIFIER, factory, javacOptions, localRepo, mavenProjectBuilder, project, reactorProjects, remoteRepos, resolver, SBT_GROUP_ID, SCALA_COMPILER_ARTIFACTID, SCALA_GROUPID, SCALA_LIBRARY_ARTIFACTID, scalacOptions, sourceEncoding, XSBTI_ARTIFACT_ID |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
SBTCompileMojo()
|
Method Summary | |
---|---|
protected File |
getAnalysisCacheFile()
Returns incremental compilation analysis cache file. |
protected Map<File,File> |
getAnalysisCacheMap()
Returns incremental compilation analyses map for reactor projects. |
protected List<String> |
getClasspathElements()
Returns compilation classpath elements. |
protected List<String> |
getCompileSourceRoots()
Returns compilation source roots. |
protected File |
getOutputDirectory()
Returns output directory. |
protected void |
internalExecute()
Actual compilation code, to be overridden. |
Methods inherited from class com.google.code.sbt.AbstractSBTCompileMojo |
---|
defaultAnalysisCacheFile, defaultTestAnalysisCacheFile, execute |
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 |
Constructor Detail |
---|
public SBTCompileMojo()
Method Detail |
---|
protected void internalExecute() throws MojoExecutionException, MojoFailureException, IOException
AbstractSBTCompileMojo
internalExecute
in class AbstractSBTCompileMojo
MojoExecutionException
- if an unexpected problem occurs.
MojoFailureException
- if an expected problem (such as a compilation failure) occurs.
IOException
- if an IO exception occurs.protected List<String> getCompileSourceRoots()
AbstractSBTCompileMojo
getCompileSourceRoots
in class AbstractSBTCompileMojo
protected List<String> getClasspathElements()
AbstractSBTCompileMojo
getClasspathElements
in class AbstractSBTCompileMojo
protected File getOutputDirectory()
AbstractSBTCompileMojo
getOutputDirectory
in class AbstractSBTCompileMojo
protected File getAnalysisCacheFile()
AbstractSBTCompileMojo
getAnalysisCacheFile
in class AbstractSBTCompileMojo
protected Map<File,File> getAnalysisCacheMap()
AbstractSBTCompileMojo
getAnalysisCacheMap
in class AbstractSBTCompileMojo
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |