Class XCiteMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.forgerock.maven.plugins.xcite.XCiteMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="cite",
defaultPhase=PROCESS_SOURCES)
public class XCiteMojo
extends org.apache.maven.plugin.AbstractMojo
Copy quotes from source text files into target text files.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Replace citations with quotes in included files, writing the resulting files in the output directory.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
XCiteMojo
public XCiteMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionReplace citations with quotes in included files, writing the resulting files in the output directory.- Throws:
org.apache.maven.plugin.MojoExecutionException
- Could not create output directory.org.apache.maven.plugin.MojoFailureException
- Failed to perform replacements.
-