@Mojo(name="nar-compile", defaultPhase=COMPILE, requiresProject=true, requiresDependencyResolution=COMPILE) public class NarCompileMojo extends AbstractCompileMojo
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
embedManifest
Specify that the final manifest should be embedded in the output (default
true) or false for side by side.
|
protected org.apache.maven.execution.MavenSession |
session
The current build session instance.
|
commandLogLevel, decorateLinkerOptions, onlySpecifiedCompilers
archiverManager, artifactResolver, dependencyGraphBuilder, excludeArtifactIds, excludeGroupIds, includeArtifactIds, includeGroupIds, remoteArtifactRepositories, rootNode
classesDirectory, classifiers, libraries, skip
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
构造器和说明 |
---|
NarCompileMojo() |
限定符和类型 | 方法和说明 |
---|---|
protected org.apache.maven.shared.artifact.filter.collection.ScopeFilter |
getArtifactScopeFilter()
List the dependencies needed for compilation, those dependencies are used
to get the include paths needed for
compilation and to get the libraries paths and names needed for linking.
|
boolean |
isEmbedManifest() |
void |
narExecute() |
failOnError, getAntProject, getC, getCpp, getDependencyLibOrder, getFortran, getIdl, getJava, getMaxCores, getMessage, getOutput, getResource, getRuntime, getTests, setC, setCpp, setDependencyLibOrder, setFortran, setIdl, setMessage, setResource, useLibtool
dependencyTreeOrderStr, downloadAttachedNars, getAllAttachedNarArtifacts, getArchiverManager, getAttachedNarArtifacts, getBinding, getBindings, getLocalRepository, getNarArtifacts, getNarInfo, getNarManager, getRemoteRepositories, unpackAttachedNars
execute, getAOL, getArchitecture, getBasedir, getJavah, getJavaHome, getLayout, getLibraries, getLibsName, getLinker, getMavenProject, getMsvc, getNarInfo, getOS, getOutput, getOutputDirectory, getTargetDirectory, getTestTargetDirectory, getTestUnpackDirectory, getUnpackDirectory, validate
@Parameter(property="nar.embedManifest", defaultValue="true") protected boolean embedManifest
@Component protected org.apache.maven.execution.MavenSession session
protected org.apache.maven.shared.artifact.filter.collection.ScopeFilter getArtifactScopeFilter()
getArtifactScopeFilter
在类中 AbstractDependencyMojo
public final void narExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
narExecute
在类中 AbstractNarMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public boolean isEmbedManifest()
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.