From 54f1e1767040995865a5038cf6c818f91babea95 Mon Sep 17 00:00:00 2001 From: Robert Botha Date: Fri, 19 Oct 2018 16:58:47 +0100 Subject: [PATCH 1/7] Added core components as an option. Added a prereqs module. Moved acs commons subpackage out of ui.apps into prereqs --- .../aem-multimodule-project/lazybones.groovy | 21 ++- .../aem-multimodule-project/prereqs/pom.xml | 136 ++++++++++++++++++ .../main/content/META-INF/vault/config.xml | 77 ++++++++++ .../META-INF/vault/definition/.content.xml | 19 +++ .../main/content/META-INF/vault/filter.xml | 4 + .../main/content/META-INF/vault/nodetypes.cnd | 20 +++ .../content/META-INF/vault/properties.xml | 13 ++ .../aem-multimodule-project/ui.apps/pom.xml | 9 -- 8 files changed, 289 insertions(+), 10 deletions(-) create mode 100644 templates/aem-multimodule-project/prereqs/pom.xml create mode 100644 templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/config.xml create mode 100644 templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/definition/.content.xml create mode 100644 templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/filter.xml create mode 100644 templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/nodetypes.cnd create mode 100644 templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/properties.xml diff --git a/templates/aem-multimodule-project/lazybones.groovy b/templates/aem-multimodule-project/lazybones.groovy index b8e4c70..4c5b8aa 100644 --- a/templates/aem-multimodule-project/lazybones.groovy +++ b/templates/aem-multimodule-project/lazybones.groovy @@ -84,6 +84,7 @@ def props = [:] props.rootDependencies = [] props.bundleDependencies = [] props.contentDependencies = [] +props.prereqDependencies = [] // common dependencies def osgiCore = dependency("org.osgi", "osgi.core", "6.0.0") @@ -109,6 +110,7 @@ props.contentDependencies.addAll([osgiCore, osgiCompendium, servletApi, commonsL // Constants def ACS_AEM_COMMONS_VERSION = "3.14.10" +def CORE_COMPONENTS_VERSION = "2.2.0" def AEM63_API_VERSION = "6.3.0" def AEM64_API_VERSION = "6.4.0" @@ -124,6 +126,8 @@ def defaultBundleArtifactId = "${props.artifactId}${props.useNewNamingConvention props.bundleArtifactId = ask("Maven artifact ID for the generated bundle module [${defaultBundleArtifactId}]: ", defaultBundleArtifactId as String, "bundleArtifactId") def defaultContentArtifactId = "${props.artifactId}${props.useNewNamingConvention ? '.ui.apps' : '-content'}"; props.contentArtifactId = ask("Maven artifact ID for the generated content package module [${defaultContentArtifactId}]: ", defaultContentArtifactId as String, "contentArtifactId") +def defaultPrereqArtifactId = "${props.artifactId}${props.useNewNamingConvention ? '.prereqs' : '-prereqs'}"; +props.prereqArtifactId = ask("Maven artifact ID for the generated pre-requisites content package module [${defaultPrereqArtifactId}]: ", defaultPrereqArtifactId as String, "prereqArtifactId") props.version = ask("Maven version for generated project [0.0.1-SNAPSHOT]: ", "0.0.1-SNAPSHOT", "version") props.projectName = ask("Human readable project name [My AEM Project]: ", "My AEM Project", "projectName") props.packageGroup = ask("Group name for Content Package [my-packages]: ", "my-packages", "packageGroup") @@ -154,6 +158,8 @@ if (props.aemVersion == VERSION_64) { // Folder Names def defaultFolderName = transformText(props.projectName, from: NameType.NATURAL, to: NameType.HYPHENATED).toLowerCase() props.appsFolderName = ask("Folder name under /apps for components and templates [${defaultFolderName}]: ", defaultFolderName, "appsFolderName") +def defaultPrereqFolderName = "${defaultFolderName}-prereqs" +props.appsPrereqFolderName = ask("Folder name under /apps for pre-requisites [${defaultPrereqFolderName}]: ", defaultPrereqFolderName, "appsPrereqFolderName") props.contentFolderName = ask("Folder name under /content which will contain your site [${defaultFolderName}] (Don't worry, you can always add more, this is just for some default configuration.): ", defaultFolderName, "contentFolderName") // Create Editable Templates folders? @@ -198,6 +204,14 @@ if (createEnvRunModeConfigFolders) { createAuthorAndPublishPerEnv = askBoolean("Create author and publish runmode directories per environment? [yes]: ", "yes", "createAuthorAndPublishPerEnv") } +// Core components +props.includeCoreComponents = askBoolean("Include Core components as a dependency? [yes]: ", "yes", "includeCoreComponents") +if (props.includeCoreComponents) { + def content = dependency("com.adobe.cq", "core.wcm.components.all", CORE_COMPONENTS_VERSION, "zip", "provided", "") + props.rootDependencies.add(content) + props.prereqDependencies.add(content) +} + // ACS AEM Commons props.includeAcsAemCommons = askBoolean("Include ACS AEM Commons as a dependency? [yes]: ", "yes", "includeAcsAemCommons") if (props.includeAcsAemCommons) { @@ -212,7 +226,7 @@ if (props.includeAcsAemCommons) { if (props.includeAcsAemCommonsSubPackage) { def content = dependency("com.adobe.acs", "acs-aem-commons-content", ACS_AEM_COMMONS_VERSION, "content-package", "provided", props.includeAcsAemCommonsMinPackage ? "min" : "") props.rootDependencies.add(content) - props.contentDependencies.add(content) + props.prereqDependencies.add(content) } props.enableErrorHandler = askBoolean("Do you want to enable the ACS AEM Commons Error Handler? [yes]: ", "yes", "enableErrorHandler") @@ -261,6 +275,11 @@ processTemplates "ui.apps/src/main/content/META-INF/vault/properties.xml", props processTemplates "ui.apps/src/main/content/META-INF/vault/filter.xml", props processTemplates "ui.apps/src/main/content/META-INF/vault/definition/.content.xml", props +println "Processing pre-requisite package metafiles..." +processTemplates "prereqs/src/main/content/META-INF/vault/properties.xml", props +processTemplates "prereqs/src/main/content/META-INF/vault/filter.xml", props +processTemplates "prereqs/src/main/content/META-INF/vault/definition/.content.xml", props + println "Creating folders..." def componentsDir = new File(projectDir, "ui.apps/src/main/content/jcr_root/apps/${props.appsFolderName}/components") componentsDir.mkdirs() diff --git a/templates/aem-multimodule-project/prereqs/pom.xml b/templates/aem-multimodule-project/prereqs/pom.xml new file mode 100644 index 0000000..6da4cda --- /dev/null +++ b/templates/aem-multimodule-project/prereqs/pom.xml @@ -0,0 +1,136 @@ + + + 4.0.0 + + + + + ${groupId} + ${artifactId} + ${version} + + + + + + + ${prereqArtifactId} + content-package + ${projectName} Pre-requisites Content Package + + <% +%><% for (dependency in prereqDependencies) { %> + + ${dependency.groupId} + ${dependency.artifactId}<% +%><% if (dependency.type != "jar") { %> + ${dependency.type}<% +%><% } + if (dependency.classifier) { %> + ${dependency.classifier}<% +%><% } %> + <% +%><% } %> + + + + + src/main/content/jcr_root + false + + **/.vlt + **/.vltignore + + + + + + + org.apache.maven.plugins + maven-resources-plugin + + true + + + + com.day.jcr.vault + content-package-maven-plugin + true + + ${packageGroup} + src/main/content/META-INF/vault/filter.xml + + + +<% if (includeAcsAemCommons && includeAcsAemCommonsSubPackage) {%> + + com.adobe.acs + acs-aem-commons-content + true + +<% } %> +<% if (includeCoreComponents) {%> + + com.adobe.cq + core.wcm.components.all + true + +<% } %> + + http://\${crx.host}:\${crx.port}/crx/packmgr/service.jsp + + merge_preserve + + + + + + + + autoInstallPackage + + + + com.day.jcr.vault + content-package-maven-plugin + + + install-content-package + install + + install + + + + + + + + + autoInstallPackagePublish + + + + com.day.jcr.vault + content-package-maven-plugin + + + install-content-package-publish + install + + install + + + http://\${publish.crx.host}:\${publish.crx.port}/crx/packmgr/service.jsp + \${publish.crx.username} + \${publish.crx.password} + + + + + + + + + diff --git a/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/config.xml b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/config.xml new file mode 100644 index 0000000..941af6c --- /dev/null +++ b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/config.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/definition/.content.xml b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/definition/.content.xml new file mode 100644 index 0000000..bc60c7c --- /dev/null +++ b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/definition/.content.xml @@ -0,0 +1,19 @@ + + + + + + diff --git a/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/filter.xml b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/filter.xml new file mode 100644 index 0000000..855d413 --- /dev/null +++ b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/filter.xml @@ -0,0 +1,4 @@ + + + + diff --git a/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/nodetypes.cnd b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/nodetypes.cnd new file mode 100644 index 0000000..ac18196 --- /dev/null +++ b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/nodetypes.cnd @@ -0,0 +1,20 @@ +<'cq'='http://www.day.com/jcr/cq/1.0'> +<'nt'='http://www.jcp.org/jcr/nt/1.0'> +<'jcr'='http://www.jcp.org/jcr/1.0'> +<'sling'='http://sling.apache.org/jcr/sling/1.0'> +<'rep'='internal'> + +[cq:Page] > nt:hierarchyNode + orderable primaryitem jcr:content + + * (nt:base) = nt:base version + + jcr:content (nt:base) = nt:unstructured + +[sling:Folder] > nt:folder + - * (undefined) multiple + - * (undefined) + + * (nt:base) = sling:Folder version + +[rep:RepoAccessControllable] + mixin + + rep:repoPolicy (rep:Policy) protected ignore + diff --git a/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/properties.xml b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/properties.xml new file mode 100644 index 0000000..e6ebc21 --- /dev/null +++ b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/properties.xml @@ -0,0 +1,13 @@ + + + +FileVault Package Properties +1 +${version} + +2 +${projectName} Pre-requisites Content Package +${packageGroup} +${prereqArtifactId} +/etc/packages/${packageGroup}/${prereqArtifactId}-${version}.zip + diff --git a/templates/aem-multimodule-project/ui.apps/pom.xml b/templates/aem-multimodule-project/ui.apps/pom.xml index 846b9d1..3f5bfc1 100644 --- a/templates/aem-multimodule-project/ui.apps/pom.xml +++ b/templates/aem-multimodule-project/ui.apps/pom.xml @@ -96,15 +96,6 @@ /apps/${appsFolderName}/install -<% if (includeAcsAemCommons && includeAcsAemCommonsSubPackage) {%> - - - com.adobe.acs - acs-aem-commons-content - true - - -<% } %> http://\${crx.host}:\${crx.port}/crx/packmgr/service.jsp merge_preserve From 865c040b00b037213e0a053487880851cee30137 Mon Sep 17 00:00:00 2001 From: Robert Botha Date: Fri, 19 Oct 2018 17:15:29 +0100 Subject: [PATCH 2/7] Add prereqs to the parent pom modules --- templates/aem-multimodule-project/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/aem-multimodule-project/pom.xml b/templates/aem-multimodule-project/pom.xml index bbbab5c..7fd6095 100644 --- a/templates/aem-multimodule-project/pom.xml +++ b/templates/aem-multimodule-project/pom.xml @@ -345,6 +345,7 @@ <% } %> + prereqs ${bundleInBundlesDirectory ? 'bundles/' : ''}${useNewNamingConvention ? 'core' : 'bundle'} ${useNewNamingConvention ? 'ui.apps' : 'content'} <% if (generateDispatcherArtifact) { %> From b7ded20b6251efba9bbc3de9b32d67921e01e707 Mon Sep 17 00:00:00 2001 From: Robert Botha Date: Fri, 19 Oct 2018 17:17:57 +0100 Subject: [PATCH 3/7] Update default AEM version to 6.4 Update ACS AEM Commons to latest version --- templates/aem-multimodule-project/lazybones.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/aem-multimodule-project/lazybones.groovy b/templates/aem-multimodule-project/lazybones.groovy index 4c5b8aa..2587e2f 100644 --- a/templates/aem-multimodule-project/lazybones.groovy +++ b/templates/aem-multimodule-project/lazybones.groovy @@ -109,7 +109,7 @@ props.bundleDependencies.addAll([osgiCore, osgiCompendium, osgiAnnotations, osgi props.contentDependencies.addAll([osgiCore, osgiCompendium, servletApi, commonsLang3, jstl, jsp, jcr, slf4j]) // Constants -def ACS_AEM_COMMONS_VERSION = "3.14.10" +def ACS_AEM_COMMONS_VERSION = "3.18.2" def CORE_COMPONENTS_VERSION = "2.2.0" def AEM63_API_VERSION = "6.3.0" def AEM64_API_VERSION = "6.4.0" @@ -131,8 +131,8 @@ props.prereqArtifactId = ask("Maven artifact ID for the generated pre-requisites props.version = ask("Maven version for generated project [0.0.1-SNAPSHOT]: ", "0.0.1-SNAPSHOT", "version") props.projectName = ask("Human readable project name [My AEM Project]: ", "My AEM Project", "projectName") props.packageGroup = ask("Group name for Content Package [my-packages]: ", "my-packages", "packageGroup") -props.aemVersion = askFromList("Target AEM version [${VERSION_63}]: ", VERSION_63, "aemVersion", [VERSION_63, VERSION_64]) props.generateDispatcherArtifact = askBoolean("Include a module to generate dispatcher configuration zip? [no]: ", "no", "generateDispatcherArtifact") +props.aemVersion = askFromList("Target AEM version [${VERSION_64}]: ", VERSION_64, "aemVersion", [VERSION_63, VERSION_64]) def defaultDispatcherArtifactId = "${props.artifactId}.dispatcher"; if (props.generateDispatcherArtifact) { props.dispatcherArtifactId = ask("Maven artifact ID for the generated dispatcher module [${defaultDispatcherArtifactId}]: ", defaultDispatcherArtifactId as String, "dispatcherArtifactId") From f672186a61cef5e184b38d2c3238eae4590ccb1a Mon Sep 17 00:00:00 2001 From: Robert Botha Date: Fri, 19 Oct 2018 18:08:02 +0100 Subject: [PATCH 4/7] Making the prereqs module optional --- .../aem-multimodule-project/lazybones.groovy | 36 +++++++++++++------ templates/aem-multimodule-project/pom.xml | 2 ++ .../aem-multimodule-project/ui.apps/pom.xml | 18 ++++++++++ 3 files changed, 46 insertions(+), 10 deletions(-) diff --git a/templates/aem-multimodule-project/lazybones.groovy b/templates/aem-multimodule-project/lazybones.groovy index 2587e2f..957a8ff 100644 --- a/templates/aem-multimodule-project/lazybones.groovy +++ b/templates/aem-multimodule-project/lazybones.groovy @@ -126,8 +126,6 @@ def defaultBundleArtifactId = "${props.artifactId}${props.useNewNamingConvention props.bundleArtifactId = ask("Maven artifact ID for the generated bundle module [${defaultBundleArtifactId}]: ", defaultBundleArtifactId as String, "bundleArtifactId") def defaultContentArtifactId = "${props.artifactId}${props.useNewNamingConvention ? '.ui.apps' : '-content'}"; props.contentArtifactId = ask("Maven artifact ID for the generated content package module [${defaultContentArtifactId}]: ", defaultContentArtifactId as String, "contentArtifactId") -def defaultPrereqArtifactId = "${props.artifactId}${props.useNewNamingConvention ? '.prereqs' : '-prereqs'}"; -props.prereqArtifactId = ask("Maven artifact ID for the generated pre-requisites content package module [${defaultPrereqArtifactId}]: ", defaultPrereqArtifactId as String, "prereqArtifactId") props.version = ask("Maven version for generated project [0.0.1-SNAPSHOT]: ", "0.0.1-SNAPSHOT", "version") props.projectName = ask("Human readable project name [My AEM Project]: ", "My AEM Project", "projectName") props.packageGroup = ask("Group name for Content Package [my-packages]: ", "my-packages", "packageGroup") @@ -158,10 +156,18 @@ if (props.aemVersion == VERSION_64) { // Folder Names def defaultFolderName = transformText(props.projectName, from: NameType.NATURAL, to: NameType.HYPHENATED).toLowerCase() props.appsFolderName = ask("Folder name under /apps for components and templates [${defaultFolderName}]: ", defaultFolderName, "appsFolderName") -def defaultPrereqFolderName = "${defaultFolderName}-prereqs" -props.appsPrereqFolderName = ask("Folder name under /apps for pre-requisites [${defaultPrereqFolderName}]: ", defaultPrereqFolderName, "appsPrereqFolderName") props.contentFolderName = ask("Folder name under /content which will contain your site [${defaultFolderName}] (Don't worry, you can always add more, this is just for some default configuration.): ", defaultFolderName, "contentFolderName") +props.generatePrereqArtifact = askBoolean("Include a module for pre-requisite packages and bundles? [no]: ", "no", "generatePrereqArtifact") +if (props.generatePrereqArtifact) { + def defaultPrereqArtifactId = "${props.artifactId}${props.useNewNamingConvention ? '.prereqs' : '-prereqs'}"; + props.prereqArtifactId = ask("Maven artifact ID for the generated pre-requisites content package module [${defaultPrereqArtifactId}]: ", defaultPrereqArtifactId as String, "prereqArtifactId") + def defaultPrereqFolderName = "${defaultFolderName}-prereqs" + props.appsPrereqFolderName = ask("Folder name under /apps for pre-requisites [${defaultPrereqFolderName}]: ", defaultPrereqFolderName, "appsPrereqFolderName") +} else { + new File(projectDir, "prereqs").deleteDir() +} + // Create Editable Templates folders? props.createEditableTemplatesStructure = askBoolean("Would you like to create AEM Editable Templates folders? [yes]: ", "yes", "createEditableTemplatesStructure"); @@ -209,7 +215,11 @@ props.includeCoreComponents = askBoolean("Include Core components as a dependenc if (props.includeCoreComponents) { def content = dependency("com.adobe.cq", "core.wcm.components.all", CORE_COMPONENTS_VERSION, "zip", "provided", "") props.rootDependencies.add(content) - props.prereqDependencies.add(content) + if (props.generatePrereqArtifact) { + props.prereqDependencies.add(content) + } else { + props.contentDependencies.add(content) + } } // ACS AEM Commons @@ -226,7 +236,11 @@ if (props.includeAcsAemCommons) { if (props.includeAcsAemCommonsSubPackage) { def content = dependency("com.adobe.acs", "acs-aem-commons-content", ACS_AEM_COMMONS_VERSION, "content-package", "provided", props.includeAcsAemCommonsMinPackage ? "min" : "") props.rootDependencies.add(content) - props.prereqDependencies.add(content) + if (props.generatePrereqArtifact) { + props.prereqDependencies.add(content) + } else { + props.contentDependencies.add(content) + } } props.enableErrorHandler = askBoolean("Do you want to enable the ACS AEM Commons Error Handler? [yes]: ", "yes", "enableErrorHandler") @@ -275,10 +289,12 @@ processTemplates "ui.apps/src/main/content/META-INF/vault/properties.xml", props processTemplates "ui.apps/src/main/content/META-INF/vault/filter.xml", props processTemplates "ui.apps/src/main/content/META-INF/vault/definition/.content.xml", props -println "Processing pre-requisite package metafiles..." -processTemplates "prereqs/src/main/content/META-INF/vault/properties.xml", props -processTemplates "prereqs/src/main/content/META-INF/vault/filter.xml", props -processTemplates "prereqs/src/main/content/META-INF/vault/definition/.content.xml", props +if (props.generatePrereqArtifact) { + println "Processing pre-requisite package metafiles..." + processTemplates "prereqs/src/main/content/META-INF/vault/properties.xml", props + processTemplates "prereqs/src/main/content/META-INF/vault/filter.xml", props + processTemplates "prereqs/src/main/content/META-INF/vault/definition/.content.xml", props +} println "Creating folders..." def componentsDir = new File(projectDir, "ui.apps/src/main/content/jcr_root/apps/${props.appsFolderName}/components") diff --git a/templates/aem-multimodule-project/pom.xml b/templates/aem-multimodule-project/pom.xml index 7fd6095..6a29bcf 100644 --- a/templates/aem-multimodule-project/pom.xml +++ b/templates/aem-multimodule-project/pom.xml @@ -345,7 +345,9 @@ <% } %> + <% if (generatePrereqArtifact) { %> prereqs + <% } %> ${bundleInBundlesDirectory ? 'bundles/' : ''}${useNewNamingConvention ? 'core' : 'bundle'} ${useNewNamingConvention ? 'ui.apps' : 'content'} <% if (generateDispatcherArtifact) { %> diff --git a/templates/aem-multimodule-project/ui.apps/pom.xml b/templates/aem-multimodule-project/ui.apps/pom.xml index 3f5bfc1..93a5ada 100644 --- a/templates/aem-multimodule-project/ui.apps/pom.xml +++ b/templates/aem-multimodule-project/ui.apps/pom.xml @@ -96,6 +96,24 @@ /apps/${appsFolderName}/install +<% if (!generatePrereqArtifact) { %> + +<% if (includeAcsAemCommons && includeAcsAemCommonsSubPackage) {%> + + com.adobe.acs + acs-aem-commons-content + true + +<% } %> +<% if (includeCoreComponents) {%> + + com.adobe.cq + core.wcm.components.all + true + +<% } %> + +<% }%> http://\${crx.host}:\${crx.port}/crx/packmgr/service.jsp merge_preserve From 47d5acb4bb8ecc5133253a03fcf4e025d66ad4c6 Mon Sep 17 00:00:00 2001 From: Robert Botha Date: Mon, 22 Oct 2018 10:37:26 +0100 Subject: [PATCH 5/7] Package name update in defintion --- .../src/main/content/META-INF/vault/definition/.content.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/definition/.content.xml b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/definition/.content.xml index bc60c7c..2d12071 100644 --- a/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/definition/.content.xml +++ b/templates/aem-multimodule-project/prereqs/src/main/content/META-INF/vault/definition/.content.xml @@ -1,6 +1,6 @@ Date: Mon, 22 Oct 2018 11:29:09 +0100 Subject: [PATCH 6/7] Updated readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3ce89b5..769d5b7 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,9 @@ Below are all of the options available in the current version. To specify an opt | Dispatcher Artifact ID | example-project.dispatcher | dispatcherArtifactId | | Folder to create under `/apps` | my-aem-project | appsFolderName | | Folder to use under `/content` | my-aem-project | contentFolderName | +| Include a module for pre-requisite packages and bundles? | no | generatePrereqArtifact | +| Pre-requisites Artifact ID | example-project.prereqs | prereqArtifactId | +| Folder name under `/apps` for pre-requisites | my-aem-project-prereqs | appsPrereqFolderName | | Create AEM Editable Templates folders? | yes | createEditableTemplatesStructure | | Folder to create under `/conf` | my-aem-project | confFolderName | | Create a site design? | no | createDesign | From 9e7b5bf57f5c0cb6fa52a7d61b305336bf19c201 Mon Sep 17 00:00:00 2001 From: Robert Botha Date: Tue, 23 Oct 2018 11:43:29 +0100 Subject: [PATCH 7/7] Add core components option to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 769d5b7..4645339 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Below are all of the options available in the current version. To specify an opt | Folder to create under `/apps` | my-aem-project | appsFolderName | | Folder to use under `/content` | my-aem-project | contentFolderName | | Include a module for pre-requisite packages and bundles? | no | generatePrereqArtifact | +| Include Core components as a dependency? | yes | includeCoreComponents | | Pre-requisites Artifact ID | example-project.prereqs | prereqArtifactId | | Folder name under `/apps` for pre-requisites | my-aem-project-prereqs | appsPrereqFolderName | | Create AEM Editable Templates folders? | yes | createEditableTemplatesStructure |