Package eu.simuline.m2latex.mojo
Class AbstractLatexMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- eu.simuline.m2latex.mojo.AbstractLatexMojo
-
- All Implemented Interfaces:
ParameterAdapter,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
CfgLatexMojo,ChkMojo,ClearMojo,GraphicsMojo
abstract class AbstractLatexMojo extends org.apache.maven.plugin.AbstractMojo implements ParameterAdapter
Abstract base class for all mojos.
-
-
Field Summary
Fields Modifier and Type Field Description protected FilebaseDirectoryThe base directory of this maven project.protected LatexProcessorlatexProcessorprotected SettingssettingsComrpises all parameters for executing this maven plugin.protected FiletargetDirectoryThe target directory of this maven project.protected FiletargetSiteDirectoryThe target site directory of this maven project.
-
Constructor Summary
Constructors Constructor Description AbstractLatexMojo()
-
Method Summary
Modifier and Type Method Description voidinitialize()Sets up the parameters and initializesLatexProcessor.-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface eu.simuline.m2latex.core.ParameterAdapter
getTargetSet
-
-
-
-
Field Detail
-
baseDirectory
@Parameter(name="baseDirectory", defaultValue="${basedir}", readonly=true) protected File baseDirectoryThe base directory of this maven project. ReinitializesSettings.baseDirectoryviainitialize().
-
targetDirectory
@Parameter(name="targetDirectory", defaultValue="${project.build.directory}", readonly=true) protected File targetDirectoryThe target directory of this maven project. ReinitializesSettings.targetDirectoryviainitialize().
-
targetSiteDirectory
@Parameter(name="targetSiteDirectory", defaultValue="${project.reporting.outputDirectory}", readonly=true) protected File targetSiteDirectoryThe target site directory of this maven project. ReinitializesSettings.baseDirectoryviainitialize().
-
settings
@Parameter(name="settings") protected Settings settings
Comrpises all parameters for executing this maven plugin. If not set in the pom prior to execution, is set ininitialize().
-
latexProcessor
protected LatexProcessor latexProcessor
-
-
Method Detail
-
initialize
public void initialize()
Description copied from interface:ParameterAdapterSets up the parameters and initializesLatexProcessor.- Specified by:
initializein interfaceParameterAdapter
-
-