org.codehaus.mojo.truezip
Class AbstractArchiveMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.truezip.AbstractArchiveMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- AbstractManipulateArchiveMojo, CliCopyMojo, CliListMojo, ForceFileUpdateMojo
public abstract class AbstractArchiveMojo
- extends org.apache.maven.plugin.AbstractMojo
|
Field Summary |
protected boolean |
immediateUpdate
Enable automatic file update after each MOJO execution. |
protected org.apache.maven.project.MavenProject |
project
Internal Maven's project |
protected TrueZip |
truezip
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
project
protected org.apache.maven.project.MavenProject project
- Internal Maven's project
- Since:
- 1.0 beta-1
truezip
protected TrueZip truezip
- Since:
- 1.0 beta-1
immediateUpdate
protected boolean immediateUpdate
- Enable automatic file update after each MOJO execution. If set to
false, immediate update is not
performed. Then, the updated files are flushed at undefined time (when the VM finalizes objects). Otherwise, a
forced file update can be triggered by using update goal in an separate execution.
- Since:
- 1.0 beta-2
AbstractArchiveMojo
public AbstractArchiveMojo()
resolveRelativePath
protected String resolveRelativePath(String path)
resolveRelativePath
protected void resolveRelativePath(org.apache.maven.shared.model.fileset.FileSet fileSet)
resolveRelativePath
protected void resolveRelativePath(FileItem fileItem)
tryImmediateUpdate
protected void tryImmediateUpdate()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
intitializeArchiveDectector
protected void intitializeArchiveDectector()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2012 Codehaus. All Rights Reserved.