public abstract class AbstractNarMojo extends org.apache.maven.plugin.AbstractMojo implements NarConstants
限定符和类型 | 字段和说明 |
---|---|
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
|
protected boolean |
skip
Skip running of NAR plugins (any) altogether.
|
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
构造器和说明 |
---|
AbstractNarMojo() |
限定符和类型 | 方法和说明 |
---|---|
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 String |
getLibsName() |
protected Linker |
getLinker() |
protected org.apache.maven.project.MavenProject |
getMavenProject() |
Msvc |
getMsvc() |
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() |
@Parameter(property="nar.skip", defaultValue="false") protected boolean skip
@Parameter(property="project.build.outputDirectory", readonly=true) protected File classesDirectory
@Parameter protected List<String> classifiers
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
在接口中 org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
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 String getArchitecture()
protected final File getBasedir()
protected final Javah getJavah()
protected final File getJavaHome(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final NarLayout getLayout() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final Linker getLinker()
protected final org.apache.maven.project.MavenProject getMavenProject()
public Msvc getMsvc() 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 String getOS()
protected final String getOutput(boolean versioned) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final String getLibsName() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final File getOutputDirectory()
protected final File getTargetDirectory()
protected final File getTestTargetDirectory()
protected final File getTestUnpackDirectory()
protected File getUnpackDirectory()
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 final void validate() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.