com.github.maven_nar
Class AbstractGnuMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.maven_nar.AbstractNarMojo
com.github.maven_nar.AbstractResourcesMojo
com.github.maven_nar.AbstractGnuMojo
- All Implemented Interfaces:
- NarConstants, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- NarGnuConfigureMojo, NarGnuMakeMojo, NarGnuProcess, NarGnuResources
public abstract class AbstractGnuMojo
- extends AbstractResourcesMojo
Abstract GNU Mojo keeps configuration
- Author:
- Mark Donszelmann
| Fields inherited from interface com.github.maven_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 com.github.maven_nar.AbstractNarMojo |
execute, getAOL, getArchitecture, getBasedir, getJavah, getJavaHome, getLayout, getLibraries, getLinker, getMavenProject, getNarInfo, getOS, getOutput, getOutputDirectory, getTargetDirectory, getTestTargetDirectory, getTestUnpackDirectory, getUnpackDirectory, narExecute, validate |
| 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 |
AbstractGnuMojo
public AbstractGnuMojo()
getGnuAOLSourceDirectory
protected final File getGnuAOLSourceDirectory()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
- Returns:
-
- Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
getGnuAOLTargetDirectory
protected final File getGnuAOLTargetDirectory()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
- Returns:
-
- Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
getGnuSourceDirectory
protected final File getGnuSourceDirectory()
useGnu
protected final boolean useGnu()
- Returns true if we do not want to use GNU on Windows
- Returns:
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.