Package net.jangaroo.jooc.mvnplugin
Class CompilerMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- net.jangaroo.jooc.mvnplugin.JangarooMojo
-
- net.jangaroo.jooc.mvnplugin.AbstractJangarooMojo
-
- net.jangaroo.jooc.mvnplugin.AbstractCompilerMojo
-
- net.jangaroo.jooc.mvnplugin.CompilerMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="compile", defaultPhase=COMPILE, requiresDependencyResolution=COMPILE, threadSafe=true) public class CompilerMojo extends AbstractCompilerMojoMojo to compile Jangaroo sources during the compile phase.
-
-
Field Summary
-
Fields inherited from class net.jangaroo.jooc.mvnplugin.AbstractCompilerMojo
UNDECLARED_DEPENDENCIES_KEY, UNUSED_DECLARED_DEPENDENCIES_WARNING, UNUSED_DEPENDENCIES_KEY, USED_UNDECLARED_DEPENDENCIES_WARNING
-
-
Constructor Summary
Constructors Constructor Description CompilerMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.jangaroo.jooc.config.JoocConfigurationcreateJoocConfiguration(org.apache.maven.plugin.logging.Log log)protected List<String>createUsedUndeclaredDependencyWarning(org.apache.maven.artifact.Artifact dependency)protected List<File>getActionScriptClassPath()protected List<File>getActionScriptCompilePath()FilegetApiOutputDirectory()protected List<File>getCompileSourceRoots()protected Set<String>getExcludes()protected Set<String>getIncludes()protected FilegetOutputDirectory()FilegetReportOutputDirectory()protected voidprintDependencyWarnings(net.jangaroo.jooc.config.JoocConfiguration joocConfiguration, Map<String,Object> dependencyWarnings)-
Methods inherited from class net.jangaroo.jooc.mvnplugin.AbstractCompilerMojo
execute, findUnusedDependencies, getCatalogOutputDirectory, getClassesOutputDirectory, getGeneratedSourcesDirectory, isMigrateToTypeScript, isSuppressCommentedActionScriptCode, printUndeclaredDependencyWarnings, printUnusedDependencyWarnings, resolveDependency
-
Methods inherited from class net.jangaroo.jooc.mvnplugin.AbstractJangarooMojo
getNamespaces, getSourceDirectory
-
Methods inherited from class net.jangaroo.jooc.mvnplugin.JangarooMojo
getMavenPluginHelper, getProject
-
-
-
-
Method Detail
-
getApiOutputDirectory
public File getApiOutputDirectory()
- Specified by:
getApiOutputDirectoryin classAbstractCompilerMojo
-
getActionScriptCompilePath
protected List<File> getActionScriptCompilePath()
- Specified by:
getActionScriptCompilePathin classAbstractCompilerMojo
-
getActionScriptClassPath
protected List<File> getActionScriptClassPath()
- Specified by:
getActionScriptClassPathin classAbstractCompilerMojo
-
getCompileSourceRoots
protected List<File> getCompileSourceRoots()
- Specified by:
getCompileSourceRootsin classAbstractCompilerMojo
-
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectoryin classAbstractCompilerMojo
-
getReportOutputDirectory
public File getReportOutputDirectory()
-
getIncludes
protected Set<String> getIncludes()
- Specified by:
getIncludesin classAbstractCompilerMojo
-
getExcludes
protected Set<String> getExcludes()
- Specified by:
getExcludesin classAbstractCompilerMojo
-
createJoocConfiguration
protected net.jangaroo.jooc.config.JoocConfiguration createJoocConfiguration(org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Overrides:
createJoocConfigurationin classAbstractCompilerMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
printDependencyWarnings
protected void printDependencyWarnings(net.jangaroo.jooc.config.JoocConfiguration joocConfiguration, Map<String,Object> dependencyWarnings)- Specified by:
printDependencyWarningsin classAbstractCompilerMojo
-
createUsedUndeclaredDependencyWarning
protected List<String> createUsedUndeclaredDependencyWarning(org.apache.maven.artifact.Artifact dependency)
- Specified by:
createUsedUndeclaredDependencyWarningin classAbstractCompilerMojo
-
-