@Mojo(name="nar-compile",
defaultPhase=COMPILE,
requiresProject=true,
requiresDependencyResolution=COMPILE)
public class NarCompileMojo
extends AbstractCompileMojo
| Modifier and Type | Field and Description |
|---|---|
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, onlySpecifiedCompilersarchiverManager, artifactResolver, excludeArtifactIds, excludeGroupIds, includeArtifactIds, includeGroupIds, remoteArtifactRepositoriesclassesDirectory, classifiers, libraries, skipLOG_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 |
|---|
NarCompileMojo() |
| Modifier and Type | Method and Description |
|---|---|
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, useLibtooldownloadAttachedNars, getAllAttachedNarArtifacts, getArchiverManager, getAttachedNarArtifacts, getBinding, getBindings, getLocalRepository, getNarArtifacts, getNarInfo, getNarManager, getRemoteRepositories, unpackAttachedNarsexecute, 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 in class AbstractDependencyMojopublic final void narExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
narExecute in class AbstractNarMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic boolean isEmbedManifest()
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.