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 SummaryFields 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.AbstractValidateMojobuildContext, csvReportFile, dependencies, failOnValidationWarnings, IGNORE_ARTIFACT, IGNORE_GAV, mapPackageDependencyToMavenGa, mojoExecution, project, repositoryStructurePackages, repositorySystem, resolutionErrorHandler, resolver, session, validationExecutorFactory
 
- 
 - 
Constructor SummaryConstructors Constructor Description ValidatePackageMojo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoExecute(ValidationMessagePrinter validationHelper)- 
Methods inherited from class org.apache.jackrabbit.filevault.maven.packaging.mojo.AbstractValidateMojoexecute, 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- 
doExecutepublic void doExecute(ValidationMessagePrinter validationHelper) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException - Specified by:
- doExecutein class- AbstractValidateMojo
- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
 
- 
 
-