@Mojo(name="docbkx",
defaultPhase=PACKAGE,
threadSafe=true,
requiresDependencyResolution=TEST,
configurator="override")
public class DocBookResourceMojo
extends org.apache.maven.plugin.AbstractMojo
mvnDebug org.forgerock.maven.plugins:openicf-maven-plugin:docbkx
Modifier and Type | Field and Description |
---|---|
protected File |
basedir
The current project base directory.
|
protected boolean |
failOnError |
protected org.apache.maven.execution.MavenSession |
session
The Maven Session Object
|
Constructor and Description |
---|
DocBookResourceMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected void |
failOnError(String prefix,
Exception e) |
void |
generate(ConnectorDocBuilder builder,
org.apache.velocity.context.Context context,
String connectorName) |
protected void |
generateDocument(ConnectorDocBuilder builder,
org.apache.velocity.context.Context context,
String connectorName,
File rootDirectory,
String templateFile) |
File |
getBasedir() |
File |
getBuildOutputDirectory() |
PropertyBag |
getConfigurationProperties() |
String[] |
getExcludes() |
org.codehaus.plexus.i18n.I18N |
getI18N() |
String[] |
getIncludes() |
org.apache.maven.project.MavenProject |
getMavenProject() |
RemoteFrameworkConnectionInfo |
getRemoteFrameworkConnectionInfo() |
String |
getSourceEncoding() |
protected String |
getTargetDirectoryName() |
String |
getTemplateDirectory() |
getLog, getPluginContext, setLog, setPluginContext
@Parameter(property="session", readonly=true) protected org.apache.maven.execution.MavenSession session
@Parameter(defaultValue="${basedir}", readonly=true, required=true) protected File basedir
@Parameter(property="openicf.failOnError", defaultValue="true") protected boolean failOnError
public File getBuildOutputDirectory()
public String[] getIncludes()
public String[] getExcludes()
public PropertyBag getConfigurationProperties()
public RemoteFrameworkConnectionInfo getRemoteFrameworkConnectionInfo()
public File getBasedir()
public String getSourceEncoding()
public String getTemplateDirectory()
public org.codehaus.plexus.i18n.I18N getI18N()
public org.apache.maven.project.MavenProject getMavenProject()
public void generate(ConnectorDocBuilder builder, org.apache.velocity.context.Context context, String connectorName) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void generateDocument(ConnectorDocBuilder builder, org.apache.velocity.context.Context context, String connectorName, File rootDirectory, String templateFile) throws IOException, org.apache.maven.plugin.MojoExecutionException
IOException
org.apache.maven.plugin.MojoExecutionException
protected String getTargetDirectoryName()
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2018–2025. All rights reserved.