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.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected final String getOutput(boolean versioned) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected 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.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected 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.MojoExecutionExceptionprotected 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.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic abstract void narExecute()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected NarInfo getNarInfo() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected final Javah getJavah()
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.