@Mojo(name="check-syntax",
defaultPhase=COMPILE)
public class SyntaxCheckingMojo
extends AbstractParentMojo
DEFAULT_SOURCE_FILE_EXTENSION| Constructor and Description |
|---|
SyntaxCheckingMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Processes the output directory to find syntax errors in the C4 files, and breaks the file if any error was found.
|
execute, getCurrentCharset, getOutputDirectory, getProject, getSourceFileExtension, processOutputDirectoryFiles, validateSourceFileExtensionprotected 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.