@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, onlySpecifiedCompilers
archiverManager, artifactResolver, excludeArtifactIds, excludeGroupIds, includeArtifactIds, includeGroupIds, remoteArtifactRepositories
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
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, useLibtool
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
in class AbstractDependencyMojo
public final void narExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
narExecute
in class AbstractNarMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public boolean isEmbedManifest()
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.