@Mojo(name="validate-files",
defaultPhase=PROCESS_CLASSES,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class ValidateFilesMojo
extends AbstractValidateMojo
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
excludes
The file name patterns to exclude in addition to the ones listed in
AbstractScanner.DEFAULTEXCLUDES. |
protected org.apache.maven.lifecycle.LifecycleExecutor |
lifecycleExecutor |
buildContext, dependencies, failOnValidationWarnings, mapPackageDependencyToMavenGa, mojoExecution, project, repositoryStructurePackages, repositorySystem, resolutionErrorHandler, resolver, session, validationExecutorFactory, validationHelper| Constructor and Description |
|---|
ValidateFilesMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute() |
disableChecksOnlyWorkingForPackages, execute, getValidatorSettingsForPackage@Parameter(property="vault.excludes",
defaultValue="**/.vlt,**/.vltignore",
required=true)
protected String[] excludes
AbstractScanner.DEFAULTEXCLUDES. The format of each pattern is described in DirectoryScanner.
The comparison is against the path relative to the according filter root.
Since this is hardly predictable it is recommended to use only filename/directory name patterns here
but not take into account file system hierarchies!
Each value is either a regex pattern if enclosed within %regex[ and ], otherwise an
Ant pattern.
@Component protected org.apache.maven.lifecycle.LifecycleExecutor lifecycleExecutor
public void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
doExecute in class AbstractValidateMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.