Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Latest commit

 

History

History
53 lines (35 loc) · 2.34 KB

File metadata and controls

53 lines (35 loc) · 2.34 KB

#set($hash = '#') ${hash} AEM SPA Project

This is a single-page application (SPA) project generated from the AEM SPA Project Archetype.

${hash}${hash} Modules

${hash}${hash} Usage

${hash}${hash}${hash} Requirements

  • Java 8 or higher
  • Maven 3.5 or higher
  • AEM 6.4.7+ or 6.5.3+

${hash}${hash}${hash} Building modules

To build all modules, run the following command in the project root directory:

mvn clean install

For example, to build your SPA and deploy it on a local AEM author instance, you can run:

mvn clean install -PautoInstallPackage

After deploying, you can view the sample content page in your browser: http://localhost:4502/content/editor.html/content/${projectName}/en.html

${hash}${hash}${hash} Maven profiles

  • autoInstallBundle: Installs the core bundle with the maven-sling-plugin to the Felix console
  • autoInstallPackage: Installs the ui.content and ui.apps content packages with the content-package-maven-plugin to the package manager of the default author instance.
  • autoInstallPackagePublish: Installs ui.content and ui.apps on the default publish instance.

In the all-in-one package (all directory), there are additional profiles for packaging all dependencies into a single content package and installing everything on an existing AEM instance:

  • autoInstallSinglePackage: Installs the all-in-one package to an existing AEM author instance
  • autoInstallSinglePackagePublish: Installs the all-in-one package to an existing AEM publish instance

${hash}${hash} Documentation