aem-classification:download-content-classification
Full name:
biz.netcentric.filevault.validator:aem-classification-maven-plugin:1.1.1-SNAPSHOT:download-content-classification
Description:
Downloads the classification data from a remote JCR (only works with AEM 6.4 or newer) via HTTP endpoints, serializes it into a map file and optionally wraps that within a JAR file.
That JAR file still needs to be manually uploaded to a Maven repository to leverage this classification map from the aem-classification-validator.
Uses the JCR search to find the current classification and also deprecation infos from properties cq:deprecated
and cq:deprecatedReason
.
Attributes:
- The goal is not marked as thread-safe and thus does not support parallel builds.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<baseUrl> |
URI |
- |
the base URL where AEM is deployed Default: http://localhost:4502 User Property: baseUrl |
<outputFile> |
Path |
- |
The path of the classification map file (and potentially wrapper jar) without extension. If not set it is written to the default temporary directory of the file system with a random file name. User Property: outputFile |
<password> |
String |
- |
the password of the user to access the baseUrl Default: admin User Property: password |
<relativeFileNameInJar> |
Path |
- |
If the classification map should be wrapped in a JAR file this needs to be set to the filepath the map should have within the JAR. User Property: relativeFileNameInJar |
<username> |
String |
- |
the user name to access the baseUrl Default: admin User Property: username |
Parameter Details
<baseUrl>
the base URL where AEM is deployed
- Type:
java.net.URI
- Required:
No
- User Property:
baseUrl
- Default:
http://localhost:4502
<outputFile>
The path of the classification map file (and potentially wrapper jar) without extension. If not set it is written to the default temporary directory of the file system with a random file name.
- Type:
java.nio.file.Path
- Required:
No
- User Property:
outputFile
<password>
the password of the user to access the
baseUrl
- Type:
java.lang.String
- Required:
No
- User Property:
password
- Default:
admin
<relativeFileNameInJar>
If the classification map should be wrapped in a JAR file this needs to be set to the filepath the map should have within the JAR.
- Type:
java.nio.file.Path
- Required:
No
- User Property:
relativeFileNameInJar
<username>
the user name to access the
baseUrl
- Type:
java.lang.String
- Required:
No
- User Property:
username
- Default:
admin