public abstract class AbstractCompileMojo extends AbstractDependencyMojo
| Modifier and Type | Field and Description |
|---|---|
protected int |
commandLogLevel
Do we log commands that is executed to produce the end-result?
Conception was to allow eclipse to sniff out include-paths from compile.
|
protected List<String[]> |
compileCommands |
protected boolean |
decorateLinkerOptions
Flag to cpptasks to indicate whether linker options should be decorated or
not
|
protected boolean |
directDepsOnly
Forces project to specify all it's dependencies and not inherit transitive
dependencies.
|
protected List<String[]> |
linkCommands |
protected boolean |
onlySpecifiedCompilers
By default NAR compile will attempt to compile using all known compilers
against files in the directories specified by convention.
|
protected String |
sharedObjectName
This parameter only has an effect on the AIX operating system for shared library projects.
|
protected boolean |
syslibsFromDependencies
Whether to automatically gather syslibs from dependencies
|
protected List<String[]> |
testCompileCommands |
protected List<String[]> |
testLinkCommands |
archiverManager, 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 |
|---|
AbstractCompileMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
failOnError(AOL aol) |
protected org.apache.tools.ant.Project |
getAntProject() |
protected Assembler |
getAssembler() |
protected C |
getC() |
protected Cpp |
getCpp() |
List<SysLib> |
getDependecySysLib(NarArtifact dependency) |
protected List |
getDependencyLibOrder() |
protected boolean |
getDirectDepsOnly()
Get value of the directDepsOnly flag.
|
protected String |
getfortifyID() |
protected Fortran |
getFortran() |
protected IDL |
getIdl() |
protected Java |
getJava() |
protected int |
getMaxCores(AOL aol) |
protected Message |
getMessage() |
protected String |
getOutput(AOL aol,
String type) |
protected Resource |
getResource() |
protected String |
getRuntime(AOL aol) |
protected List |
getTests() |
void |
setC(C c) |
void |
setCpp(Cpp cpp) |
void |
setDependencyLibOrder(List order) |
void |
setFortran(Fortran fortran) |
void |
setIdl(IDL idl) |
void |
setMessage(Message message) |
void |
setResource(Resource resource) |
protected boolean |
useLibtool(AOL aol) |
dependencyTreeOrderStr, downloadAttachedNars, getAllAttachedNarArtifacts, getArchiverManager, getArtifactScopeFilter, 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, narExecute, setDryRun, setReplay, validate@Parameter(defaultValue="false") protected boolean onlySpecifiedCompilers
@Parameter protected int commandLogLevel
@Parameter(defaultValue="false") protected boolean directDepsOnly
@Parameter(defaultValue="") protected String sharedObjectName
@Parameter protected boolean decorateLinkerOptions
@Parameter(defaultValue="false",
required=true)
protected boolean syslibsFromDependencies
protected final boolean failOnError(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected final org.apache.tools.ant.Project getAntProject()
protected final C getC()
protected final Cpp getCpp()
protected final List getDependencyLibOrder()
protected final Fortran getFortran()
protected final Assembler getAssembler()
protected final IDL getIdl()
protected final Java getJava()
protected final int getMaxCores(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean getDirectDepsOnly()
true if directDepsOnly is true, false otherwise.protected final Message getMessage()
protected final String getOutput(AOL aol, String type) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected final Resource getResource()
protected final String getRuntime(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected final List getTests()
public void setC(C c)
public void setCpp(Cpp cpp)
protected final String getfortifyID()
public final void setDependencyLibOrder(List order)
public void setFortran(Fortran fortran)
public void setIdl(IDL idl)
public void setMessage(Message message)
public void setResource(Resource resource)
protected final boolean useLibtool(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic List<SysLib> getDependecySysLib(NarArtifact dependency) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2005–2020 NAR Maven Plugin developers. All rights reserved.