@Mojo(name="nar-testCompile",
defaultPhase=TEST_COMPILE,
requiresDependencyResolution=TEST)
public class NarTestCompileMojo
extends AbstractCompileMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
skipNar
Skip running of NAR integration test plugins.
|
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 |
|---|
NarTestCompileMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.shared.artifact.filter.collection.ScopeFilter |
getArtifactScopeFilter()
List the dependencies needed for tests compilations, those dependencies are
used to get the include paths needed
for compilation and to get the libraries paths and names needed for
linking.
|
protected File |
getUnpackDirectory() |
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, validate@Parameter(property="skipNar") protected boolean skipNar
protected 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-2016 NAR Maven Plugin developers. All Rights Reserved.