public abstract class AbstractDependencyMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSURE_LIBRARY_NAME
The name of the current closure library - this is updated regularly.
|
| Constructor and Description |
|---|
AbstractDependencyMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected void |
extractAndRenameLibrary()
Extracts the closure library and renames it to a standard so that it can be referenced
at a later point.
|
protected abstract void |
extractDependencies()
Extract the dependencies from the jsar to the appropriate location(s).
|
protected void |
extractExterns(Set<org.apache.maven.artifact.Artifact> artifactSet)
Extract the externs from the package.
|
protected void |
extractInterns(boolean extractAssert)
Extract the interns (assert/debug) files from the package.
|
File |
getClosureExtractLibDirectory() |
abstract File |
getFrameworkTargetDirectory() |
abstract org.apache.maven.project.MavenProject |
getProject() |
boolean |
isSkipGoogleExtraction() |
public static final String CLOSURE_LIBRARY_NAME
public abstract org.apache.maven.project.MavenProject getProject()
public final boolean isSkipGoogleExtraction()
public final File getClosureExtractLibDirectory()
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected abstract void extractDependencies()
throws IOException,
org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
IOException - if there is a problem reading the artifactorg.apache.maven.plugin.MojoFailureException - from any Mojo API specific callsorg.apache.maven.plugin.MojoExecutionException - from any Mojo API specific callsprotected final void extractAndRenameLibrary()
throws IOException
IOException - if there is a problem reading the artifactprotected final void extractInterns(boolean extractAssert)
throws IOException,
org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
extractAssert - whether to extract assert filesIOException - if unable to write filesorg.apache.maven.plugin.MojoFailureException - from any Mojo API specific callsorg.apache.maven.plugin.MojoExecutionException - from any Mojo API specific callsprotected final void extractExterns(Set<org.apache.maven.artifact.Artifact> artifactSet) throws IOException, org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
artifactSet - the set to extractIOException - if unable to write filesorg.apache.maven.plugin.MojoFailureException - from any Mojo API specific callsorg.apache.maven.plugin.MojoExecutionException - from any Mojo API specific callspublic abstract File getFrameworkTargetDirectory()
Copyright © 2015. All Rights Reserved.