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 boolean |
decorateLinkerOptions
Flag to cpptasks to indicate whether linker options should be decorated or
not
|
protected boolean |
onlySpecifiedCompilers
By default NAR compile will attempt to compile using all known compilers
against files in the directories specified by convention.
|
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 |
---|
AbstractCompileMojo() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
failOnError(AOL aol) |
protected org.apache.tools.ant.Project |
getAntProject() |
protected C |
getC() |
protected Cpp |
getCpp() |
protected List |
getDependencyLibOrder() |
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) |
downloadAttachedNars, getAllAttachedNarArtifacts, getArchiverManager, getArtifactScopeFilter, 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, narExecute, validate
@Parameter(defaultValue="false") protected boolean onlySpecifiedCompilers
@Parameter protected int commandLogLevel
@Parameter protected boolean decorateLinkerOptions
protected final boolean failOnError(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected 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 IDL getIdl()
protected final Java getJava()
protected final int getMaxCores(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final Message getMessage()
protected final String getOutput(AOL aol, String type) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final Resource getResource()
protected final String getRuntime(AOL aol) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final List getTests()
public void setC(C c)
public void setCpp(Cpp cpp)
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.MojoExecutionException
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.