public abstract class AbstractNarMojo extends org.apache.maven.plugin.AbstractMojo implements NarConstants
Modifier and Type | Field and Description |
---|---|
protected File |
classesDirectory |
protected List<String> |
classifiers
List of classifiers which you want download/unpack/assemble
Example ppc-MacOSX-g++, x86-Windows-msvc, i386-Linux-g++.
|
protected List<Library> |
libraries
List of libraries to create
|
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
Constructor and Description |
---|
AbstractNarMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected AOL |
getAOL() |
protected String |
getArchitecture() |
protected File |
getBasedir() |
protected Javah |
getJavah() |
protected File |
getJavaHome(AOL aol) |
protected NarLayout |
getLayout() |
protected List<Library> |
getLibraries() |
protected Linker |
getLinker() |
protected org.apache.maven.project.MavenProject |
getMavenProject() |
protected NarInfo |
getNarInfo() |
protected String |
getOS() |
protected String |
getOutput(boolean versioned) |
protected File |
getOutputDirectory() |
protected File |
getTargetDirectory() |
protected File |
getTestTargetDirectory() |
protected File |
getTestUnpackDirectory() |
protected File |
getUnpackDirectory() |
abstract void |
narExecute() |
protected void |
validate() |
protected File classesDirectory
protected List<String> classifiers
protected final void validate() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
protected final String getOutput(boolean versioned) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final String getArchitecture()
protected final String getOS()
protected final AOL getAOL() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
protected final Linker getLinker()
protected final File getBasedir()
protected final File getOutputDirectory()
protected final File getTargetDirectory()
protected final File getTestTargetDirectory()
protected File getUnpackDirectory()
protected final File getTestUnpackDirectory()
protected final NarLayout getLayout() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final org.apache.maven.project.MavenProject getMavenProject()
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public abstract void narExecute() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
protected NarInfo getNarInfo() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final Javah getJavah()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.