|
||||||||||
| 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.ScalaSourceMojoSupport
public abstract class ScalaSourceMojoSupport

| Field Summary | |
|---|---|
protected Set<String> |
excludes
A list of exclusion filters for the compiler. |
protected Set<String> |
includes
A list of inclusion filters for the compiler. |
protected boolean |
sendJavaToScalac
Enables/Disables sending java source to the scala compiler. |
| 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 | |
|---|---|
ScalaSourceMojoSupport()
|
|
| Method Summary | |
|---|---|
protected List<File> |
findSourceWithFilters()
Finds all source files in a set of directories with a given extension. |
protected List<File> |
findSourceWithFilters(List<File> sourceRootDirs)
Finds all source files in a set of directories with a given extension. |
protected abstract List<File> |
getSourceDirectories()
Retreives the list of *all* root source directories. |
protected void |
initFilters()
|
protected File |
normalize(File f)
|
protected List<File> |
normalize(List<String> compileSourceRootsList)
This limits the source directories to only those that exist for real. |
| Methods inherited from class org_scala_tools_maven.ScalaMojoSupport |
|---|
addCompilerPluginOptions, addToClasspath, addToClasspath, addToClasspath, checkScalaVersion, doExecute, 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 boolean sendJavaToScalac
protected Set<String> includes
<includes>
<include>SomeFile.scala</include>
</includes>
protected Set<String> excludes
<excludes>
<exclude>SomeBadFile.scala</exclude>
</excludes>
| Constructor Detail |
|---|
public ScalaSourceMojoSupport()
| Method Detail |
|---|
protected abstract List<File> getSourceDirectories()
throws Exception
Exception
protected List<File> findSourceWithFilters()
throws Exception
Exception
protected void initFilters()
throws Exception
Exception
protected List<File> findSourceWithFilters(List<File> sourceRootDirs)
throws Exception
Exceptionprotected File normalize(File f)
protected List<File> normalize(List<String> compileSourceRootsList)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||