json-dialog-conversion:convert
Full name:
io.wcm.maven.plugins:json-dialog-conversion-plugin:1.0.1-SNAPSHOT:convert
Description:
Converts dialog definitions in JSON format using the cq-dialog-conversion tool.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope:
compile.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<dialogConversionToolVersion> |
String |
- |
Version of artifact com.adobe.cq:cq-dialog-conversion-content:zip Default value is: 2.0.0.User property is: convert.toolVersion. |
<formatOnly> |
boolean |
- |
If set to true, the affected JSON files are only reformatted, but not transformed. Default value is: false.User property is: convert.formatOnly. |
<rules> |
String |
- |
Ruleset for transformation Default value is: /libs/cq/dialogconversion/rules/coral2.User property is: convert.rules. |
<source> |
File |
- |
Source path containing Sling-Initial-Content JSON files. Default value is: ${project.basedir}/src/main/webapp/app-root.User property is: convert.source. |
<workDir> |
File |
- |
Temporary work directory Default value is: ${project.build.directory}/json-dialog-conversion-work. |
Parameter Details
<dialogConversionToolVersion>
Version of artifact com.adobe.cq:cq-dialog-conversion-content:zip
- Type:
java.lang.String - Required:
No - User Property:
convert.toolVersion - Default:
2.0.0
<formatOnly>
If set to true, the affected JSON files are only reformatted, but not transformed.
- Type:
boolean - Required:
No - User Property:
convert.formatOnly - Default:
false
<rules>
Ruleset for transformation
- Type:
java.lang.String - Required:
No - User Property:
convert.rules - Default:
/libs/cq/dialogconversion/rules/coral2
<source>
Source path containing Sling-Initial-Content JSON files.
- Type:
java.io.File - Required:
No - User Property:
convert.source - Default:
${project.basedir}/src/main/webapp/app-root
<workDir>
Temporary work directory
- Type:
java.io.File - Required:
No - Default:
${project.build.directory}/json-dialog-conversion-work