public class XCite extends Object
This class generates source including the citations. For example, if your DocBook source file includes the following <programlisting>:
<programlisting language="java" >[jcp:org.forgerock.doc.jcite.test.Test:--- mainMethod]</programlisting>
Then this class replaces the citation with the code
in between // --- mainMethod
comments,
suitable for inclusion in XML,
and leaves the new file with the modifiable copy of the sources
for further processing.
Constructor and Description |
---|
XCite(AbstractDocbkxMojo mojo)
Constructor setting the Mojo that holds the configuration.
|
public XCite(AbstractDocbkxMojo mojo)
mojo
- The Mojo that holds the configuration.public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
- Could not create output directory.org.apache.maven.plugin.MojoFailureException
- Failed to perform replacements.Copyright © 2025 Open Identity Platform Community. All rights reserved.