org.apache.maven.plugin.nar
Class AbstractNarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.nar.AbstractNarMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, NarConstants
- Direct Known Subclasses:
- AbstractDependencyMojo
public abstract class AbstractNarMojo
- extends org.apache.maven.plugin.AbstractMojo
- implements NarConstants
- Author:
- Mark Donszelmann
| Fields inherited from interface org.apache.maven.plugin.nar.NarConstants |
LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_VERBOSE, LOG_LEVEL_WARNING, NAR, NAR_AOL, NAR_EXTENSION, NAR_NO_ARCH, NAR_ROLE_HINT, NAR_TYPE |
| 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 |
AbstractNarMojo
public AbstractNarMojo()
validate
protected final void validate()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
getArchitecture
protected final java.lang.String getArchitecture()
getOS
protected final java.lang.String getOS()
getAOL
protected final AOL getAOL()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
getLinker
protected final Linker getLinker()
getBasedir
protected final java.io.File getBasedir()
getOutputDirectory
protected final java.io.File getOutputDirectory()
getFinalName
protected final java.lang.String getFinalName()
getTargetDirectory
protected final java.io.File getTargetDirectory()
getTestTargetDirectory
protected final java.io.File getTestTargetDirectory()
getUnpackDirectory
protected final java.io.File getUnpackDirectory()
getTestUnpackDirectory
protected final java.io.File getTestUnpackDirectory()
getLayout
protected final NarLayout getLayout()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getMavenProject
protected final org.apache.maven.project.MavenProject getMavenProject()
execute
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute in interface org.apache.maven.plugin.Mojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
narExecute
public abstract void narExecute()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.