public abstract class ScalaSourceMojoSupport extends ScalaMojoSupport
| Modifier and Type | Field and Description |
|---|---|
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.
|
addJavacArgs, addScalacArgs, args, checkMultipleScalaVersions, compilerPlugins, dependencies, displayCmd, encoding, factory, failOnMultipleScalaVersions, forceUseArgFile, fork, javacArgs, javacGenerateDebugSymbols, jvmArgs, localRepo, mavenProjectBuilder, project, reactorProjects, remoteRepos, resolver, SCALA_COMPILER_ARTIFACTID, SCALA_LIBRARY_ARTIFACTID, scalaClassName, session, source, target, toolchainManager, useCanonicalPath| Constructor and Description |
|---|
ScalaSourceMojoSupport() |
| Modifier and Type | Method and Description |
|---|---|
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()
Retrieves the list of *all* root source directories.
|
protected void |
initFilters() |
protected List<File> |
normalize(List<String> compileSourceRootsList)
This limits the source directories to only those that exist for real.
|
addCompilerPluginOptions, addCompilerToClasspath, addLibraryToClasspath, addToClasspath, addToClasspath, addToClasspath, addToClasspath, checkScalaVersion, doExecute, execute, findScalaVersion, findVersionFromDependencies, findVersionFromPluginArtifacts, getAllDependencies, getArtifactJar, getArtifactJar, getCompilerDependencies, getCompilerJar, getCompilerPluginOptions, getDependencies, getEmptyScalaCommand, getJavacOptions, getLibraryJar, getPluginArtifactJar, getPluginArtifactJar, getScalaCommand, getScalaOptions, getScalaOrganization, isJavaSupportedByCompiler, resolveArtifactDependencies, resolveDependencyArtifactsprotected boolean sendJavaToScalac
protected Set<String> includes
<includes>
<include>SomeFile.scala</include>
</includes>
protected abstract List<File> getSourceDirectories() throws Exception
Exceptionprotected List<File> findSourceWithFilters() throws Exception
Exceptionprotected List<File> findSourceWithFilters(List<File> sourceRootDirs) throws Exception
ExceptionCopyright © 2012–2015. All rights reserved.