public abstract class BaseMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowSubclassOverrides |
protected boolean |
debug |
protected boolean |
failOnCompilerWarnings |
protected File |
outputDirectory |
protected org.apache.maven.project.MavenProject |
project |
| Constructor and Description |
|---|
BaseMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected List<String> |
getCompilerArgs(File configFile) |
protected abstract String |
getConfigFileName() |
protected List<Define> |
getDefines() |
protected List<org.apache.maven.artifact.Artifact> |
getExternalLibraries(List<org.apache.maven.artifact.Artifact> artifacts) |
protected List<org.apache.maven.artifact.Artifact> |
getFilteredLibraries(List<org.apache.maven.artifact.Artifact> artifacts) |
protected abstract String |
getFlexTool() |
protected List<org.apache.maven.artifact.Artifact> |
getJSExternalLibraries(List<org.apache.maven.artifact.Artifact> artifacts) |
protected List<org.apache.maven.artifact.Artifact> |
getJSLibraries(List<org.apache.maven.artifact.Artifact> artifacts) |
protected List<org.apache.maven.artifact.Artifact> |
getLibraries(List<org.apache.maven.artifact.Artifact> artifacts) |
protected List<Namespace> |
getNamespaces() |
protected List<Namespace> |
getNamespacesJS() |
protected Set<String> |
getNamespaceUris() |
protected abstract File |
getOutput() |
protected String |
getSourcePath(String resourceOnPath) |
protected List<String> |
getSourcePaths() |
protected List<org.apache.maven.artifact.Artifact> |
getSWFExternalLibraries(List<org.apache.maven.artifact.Artifact> artifacts) |
protected List<org.apache.maven.artifact.Artifact> |
getSWFLibraries(List<org.apache.maven.artifact.Artifact> artifacts) |
protected List<org.apache.maven.artifact.Artifact> |
getThemeLibraries(List<org.apache.maven.artifact.Artifact> artifacts) |
protected abstract String |
getToolGroupName() |
protected org.apache.velocity.VelocityContext |
getVelocityContext() |
protected void |
handleExitCode(int exitCode) |
protected boolean |
includeLibrary(org.apache.maven.artifact.Artifact library) |
protected boolean |
includeLibraryJS(org.apache.maven.artifact.Artifact library) |
protected boolean |
includeLibrarySWF(org.apache.maven.artifact.Artifact library) |
protected boolean |
isForceSwcExternalLibraryPath() |
protected boolean |
skip() |
@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${project.build.directory}")
protected File outputDirectory
@Parameter protected boolean debug
@Parameter protected boolean failOnCompilerWarnings
@Parameter protected boolean allowSubclassOverrides
protected boolean skip()
protected abstract String getConfigFileName() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected abstract File getOutput() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected org.apache.velocity.VelocityContext getVelocityContext()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected abstract String getToolGroupName()
protected abstract String getFlexTool()
protected List<String> getCompilerArgs(File configFile) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void handleExitCode(int exitCode)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected List<org.apache.maven.artifact.Artifact> getFilteredLibraries(List<org.apache.maven.artifact.Artifact> artifacts)
protected List<org.apache.maven.artifact.Artifact> getLibraries(List<org.apache.maven.artifact.Artifact> artifacts)
protected List<org.apache.maven.artifact.Artifact> getJSLibraries(List<org.apache.maven.artifact.Artifact> artifacts)
protected List<org.apache.maven.artifact.Artifact> getSWFLibraries(List<org.apache.maven.artifact.Artifact> artifacts)
protected List<org.apache.maven.artifact.Artifact> getThemeLibraries(List<org.apache.maven.artifact.Artifact> artifacts)
protected List<org.apache.maven.artifact.Artifact> getExternalLibraries(List<org.apache.maven.artifact.Artifact> artifacts)
protected List<org.apache.maven.artifact.Artifact> getJSExternalLibraries(List<org.apache.maven.artifact.Artifact> artifacts)
protected List<org.apache.maven.artifact.Artifact> getSWFExternalLibraries(List<org.apache.maven.artifact.Artifact> artifacts)
protected boolean isForceSwcExternalLibraryPath()
protected List<Define> getDefines() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean includeLibrary(org.apache.maven.artifact.Artifact library)
protected boolean includeLibraryJS(org.apache.maven.artifact.Artifact library)
protected boolean includeLibrarySWF(org.apache.maven.artifact.Artifact library)
Copyright © 2018 The Apache Software Foundation. All rights reserved.