diff --git a/README.md b/README.md index 9c204ba..4dd7af3 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ While Adobe [provides documentation](https://experienceleague.adobe.com/docs/exp Choose this option if youChoosing this option is consistent with how `aem-packager` worked previous to v4.0 -#### crxCompatibility +#### legacyCRXSupport Enables backwards compatibility for CRX when using Jackrabbit for `packager`. Set boolean `true` or `false`. Defaults to `false`. When enabled, it includes the JCR Vault `content-package-maven-plugin` so that built packages have the necessary goals needed for CRX deployment. Has no effect if `packager` is set to `jcrvault`. diff --git a/src/defaults.json b/src/defaults.json index f738661..58b80bf 100644 --- a/src/defaults.json +++ b/src/defaults.json @@ -3,7 +3,7 @@ "srcDir": "dist", "buildDir": "target", "packager": "jackrabbit", - "crxCompatibility": false + "legacyCRXSupport": false }, "defines": { "name": "My Project", diff --git a/src/template.js b/src/template.js index c4452fb..44a8f86 100644 --- a/src/template.js +++ b/src/template.js @@ -14,7 +14,7 @@ const loadTemplate = (template) => { return xmlDoc } -const assemblePom = ({ packager: mode = 'jackrabbit', crxCompatibility: legacyCRXSupport = false }) => { +const assemblePom = ({ packager: mode = 'jackrabbit', legacyCRXSupport = false }) => { try { Console.debug(`Asembling a pom.xml that will use ${mode}`)