|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
se.biltmore.tools.odttoapt.maven.plugin.ODT2APTMojo
public class ODT2APTMojo
Goal which converts OpenOfficeOrg .odt documents using a special template to APT.
The easiest way to run this plugin is to put it in a profile and specify that profile when running site:site.
Nested Class Summary | |
---|---|
class |
ODT2APTMojo.ODTImageHandler
Provides an implementatin of ImageHandler. |
Field Summary | |
---|---|
private String |
basedir
The basedir of the project. |
private boolean |
debugMode
If true debug mode is enabled. |
private String |
destination
The destination directory. |
private boolean |
dontFail
If true any failure will be displayed as a warning instead of stopping build. |
private String |
imageAPTLinkPath
The image APT link path. |
private String |
imageDestination
The destination directory for images found in document. |
private String |
source
The source directory to search for files to convert. |
private boolean |
verbose
If true the currently converted file is displayed. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
ODT2APTMojo()
|
Method Summary | |
---|---|
void |
execute()
This is the entry point for the Mojo. |
private void |
odt2apt(File sourceOdtFile)
Converts a file from odt to apt. |
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 |
Field Detail |
---|
private String source
private String destination
private String imageDestination
private String imageAPTLinkPath
private boolean verbose
private boolean debugMode
private boolean dontFail
private String basedir
Constructor Detail |
---|
public ODT2APTMojo()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
private void odt2apt(File sourceOdtFile) throws org.apache.maven.plugin.MojoExecutionException
sourceOdtFile
- The file to convert.
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |