@Mojo(name="watermark",
defaultPhase=PROCESS_CLASSES)
public class WatermarkingMojo
extends AbstractParentMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_COPYRIGHT_NAME
Default copyright name, if none is provided.
|
static DateTimeFormatter |
DEFAULT_DATE_FORMATTER
Default format for the date, if an invalid formatting pattern or no pattern is provided.
|
static String |
DEFAULT_WATERMARK_NAME
Default diagram name, if none is provided.
|
static String |
WATERMARK_FORMAT_STRING
Watermark string pattern.
|
DEFAULT_SOURCE_FILE_EXTENSION| Constructor and Description |
|---|
WatermarkingMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Adds watermark to the C4 PlantUML files contained in the output directory.
|
execute, getCurrentCharset, getOutputDirectory, getProject, getSourceFileExtension, processOutputDirectoryFiles, validateSourceFileExtensionpublic static final String DEFAULT_COPYRIGHT_NAME
It is the default value for the copyrightName property.
public static final DateTimeFormatter DEFAULT_DATE_FORMATTER
It defaults to DateTimeFormatter.ISO_DATE.
public static final String DEFAULT_WATERMARK_NAME
It is the default value for the watermarkName property.
public static final String WATERMARK_FORMAT_STRING
protected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
An abstract method to hold the children classes execution logic.
doExecute in class AbstractParentMojoorg.apache.maven.plugin.MojoExecutionException - if there is an issue with the build that makes it impossible to continue.org.apache.maven.plugin.MojoFailureException - if there is any other kind of failures.Copyright © 2020. All rights reserved.