@Mojo(name="nar-test",
defaultPhase=TEST,
requiresProject=true,
requiresDependencyResolution=TEST)
public class NarTestMojo
extends AbstractCompileMojo
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 |
|---|
NarTestMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.shared.artifact.filter.collection.ScopeFilter |
getArtifactScopeFilter()
List the dependencies needed for tests executions and for executables
executions, those dependencies are used
to declare the paths of shared libraries for execution.
|
protected File |
getUnpackDirectory() |
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, getWindowsMsvcDir, getWindowsMsvcVersion, getWindowsSdkDir, getWindowsSdkVersion, isDryRun, isSkipRanlib, setDryRun, setReplay, validateprotected org.apache.maven.shared.artifact.filter.collection.ScopeFilter getArtifactScopeFilter()
getArtifactScopeFilter in class AbstractDependencyMojoprotected File getUnpackDirectory()
getUnpackDirectory in class AbstractNarMojopublic 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.MojoFailureExceptionCopyright © 2005–2020 NAR Maven Plugin developers. All rights reserved.