alfresco:validate
Full name:
org.alfresco.maven.plugin:alfresco-maven-plugin:4.2.0-SNAPSHOT:validate
Description:
This goal provides the EXPERIMENTAL feature of validating your AMP
module (source and binaries) against Alfresco (Repository and
Share) development best practices, providing validation and alerts
that can be used to improve quality, longevity and supportability
of your code. It uses the ATV (Alfresco Technical Validation
https://github.com/AlfrescoLabs/technical-validation)
Attributes:
- Requires a Maven project to be executed.
- Since version: 2.0.0-beta-2.
- Binds by default to the lifecycle phase: verify.
Required Parameters
Name |
Type |
Since |
Description |
binaryLocation |
String |
2.0.0-beta-2 |
The directory where the binary AMP package is to be found Default value is: ${project.build.directory}/${project.build.finalName}.amp. User property is: maven.alfresco.validation.binaryLocation.
|
neo4jUrl |
String |
2.0.0-beta-2 |
The directory where the binary AMP package is to be found Default value is: http://localhost:7474/db/data/. User property is: maven.alfresco.validation.neo4jUrl.
|
skip |
boolean |
2.0.0-beta-2 |
This parameter skips validation (the feature is experimental so
disabled by default) Default value is: true. User property is: maven.alfresco.validation.skip.
|
sourceLocation |
String |
2.0.0-beta-2 |
The directory where the source project is stored. Should not
include /target otherwise checks will be duplicated. Default value is: ${project.build.directory}/${project.build.finalName}-src. User property is: maven.alfresco.validation.sourceLocation.
|
Parameter Details
binaryLocation:
The directory where the binary AMP package is to be found
- Type: java.lang.String
- Since: 2.0.0-beta-2
- Required: Yes
- User Property: maven.alfresco.validation.binaryLocation
- Default: ${project.build.directory}/${project.build.finalName}.amp
neo4jUrl:
The directory where the binary AMP package is to be found
- Type: java.lang.String
- Since: 2.0.0-beta-2
- Required: Yes
- User Property: maven.alfresco.validation.neo4jUrl
- Default: http://localhost:7474/db/data/
skip:
This parameter skips validation (the feature is experimental so
disabled by default)
- Type: boolean
- Since: 2.0.0-beta-2
- Required: Yes
- User Property: maven.alfresco.validation.skip
- Default: true
sourceLocation:
The directory where the source project is stored. Should not
include /target otherwise checks will be duplicated.
- Type: java.lang.String
- Since: 2.0.0-beta-2
- Required: Yes
- User Property: maven.alfresco.validation.sourceLocation
- Default: ${project.build.directory}/${project.build.finalName}-src