Class ValidatePackageMojo
- java.lang.Object
 - 
- org.apache.maven.plugin.AbstractMojo
 - 
- org.apache.jackrabbit.filevault.maven.packaging.mojo.AbstractValidateMojo
 - 
- org.apache.jackrabbit.filevault.maven.packaging.mojo.ValidatePackageMojo
 
 
 
 
- 
- All Implemented Interfaces:
 org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="validate-package", defaultPhase=VERIFY, requiresDependencyResolution=COMPILE, requiresProject=false, threadSafe=true) public class ValidatePackageMojo extends AbstractValidateMojoValidates a package (and optionally in addition all attached packages with the given classifiers) with all registered validators.This goal is executed/bound by default for Maven modules of type
content-package.- Since:
 - 1.1.0
 - See Also:
 - Validators
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected StringclassifierThe given classifier is merged with the ones from parameterclassifiers.- 
Fields inherited from class org.apache.jackrabbit.filevault.maven.packaging.mojo.AbstractValidateMojo
buildContext, csvReportFile, dependencies, failOnValidationWarnings, IGNORE_ARTIFACT, IGNORE_GAV, mapPackageDependencyToMavenGa, mojoExecution, project, repositoryStructurePackages, repositorySystem, resolutionErrorHandler, resolver, session, validationExecutorFactory 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ValidatePackageMojo() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoExecute(ValidationMessagePrinter validationHelper)- 
Methods inherited from class org.apache.jackrabbit.filevault.maven.packaging.mojo.AbstractValidateMojo
execute, getEffectiveValidatorSettingsForPackage, getEffectiveValidatorSettingsForPackage, getProjectRelativeFilePath, getRelativeFilePath, shouldSkip 
 - 
 
 - 
 
- 
- 
Field Detail
- 
classifier
@Parameter(property="vault.classifier") protected String classifier
The given classifier is merged with the ones from parameterclassifiers. All matching attached artifacts are validated (potentially in addition to the main package depending on parameterskipPackageFile).- Since:
 - 1.2.2
 
 
 - 
 
- 
Method Detail
- 
doExecute
public void doExecute(ValidationMessagePrinter validationHelper) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Specified by:
 doExecutein classAbstractValidateMojo- Throws:
 org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
 
 - 
 
 -