@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, compileCommands, decorateLinkerOptions, directDepsOnly, linkCommands, onlySpecifiedCompilers, sharedObjectName, syslibsFromDependencies, testCompileCommands, testLinkCommandsarchiverManager, artifactResolver, dependencyGraphBuilder, excludeArtifactIds, excludeGroupIds, includeArtifactIds, includeGroupIds, remoteArtifactRepositories, rootNodeclassesDirectory, classifiers, dryRun, includesType, libraries, libsName, replay, skip, skipRanlibLOG_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, REPLAY_COMPILE_NAME, REPLAY_LINK_NAME, REPLAY_TEST_COMPILE_NAME, REPLAY_TEST_LINK_NAME| 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, getAssembler, getC, getCpp, getDependecySysLib, getDependencyLibOrder, getDirectDepsOnly, getfortifyID, getFortran, getIdl, getJava, getMaxCores, getMessage, getOutput, getResource, getRuntime, getTests, setC, setCpp, setDependencyLibOrder, setFortran, setIdl, setMessage, setResource, useLibtooldependencyTreeOrderStr, downloadAttachedNars, getAllAttachedNarArtifacts, getArchiverManager, getAttachedNarArtifacts, getBinding, getBindings, getDirectDepsSet, getLocalRepository, getNarArtifacts, getNarInfo, getNarManager, getRemoteRepositories, getRootNodeDependecyTree, getVerboseDependencyTree, unpackAttachedNarscreateReplayDirs, execute, getAOL, getArchitecture, getBasedir, getIncludesType, getJavah, getJavaHome, getLayout, getLibraries, getLibsName, getLinker, getMavenProject, getMsvc, getNarInfo, getNARVersionInfo, getOS, getOutput, getOutputDirectory, getReplay, getTargetDirectory, getTestTargetDirectory, getTestUnpackDirectory, getUnpackDirectory, getWindowsMsvcDir, getWindowsMsvcVersion, getWindowsSdkDir, getWindowsSdkVersion, isDryRun, isSkipRanlib, setDryRun, setReplay, validate@Parameter(property="nar.embedManifest",
defaultValue="true")
protected boolean embedManifest
@Parameter(defaultValue="${session}",
readonly=true)
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–2020 NAR Maven Plugin developers. All rights reserved.