From a1a39e16ad6d12ff53786271ad5e74053e2da442 Mon Sep 17 00:00:00 2001 From: Mahidhar Chaluvadi Date: Sun, 8 Oct 2023 01:43:46 -0500 Subject: [PATCH] fix: updated docs instead of var def --- README.md | 2 +- src/defaults.json | 2 +- src/template.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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}`)