Skip to content

This package contained AEM application for demoing Danta Framwork's capabilities of being platform agnostic.

License

Notifications You must be signed in to change notification settings

DantaFramework/AEMDemo

Repository files navigation

Danta - AEM Demo Project

Danta is the agnostic multi-platform templating engine. enables developers and IT teams to use technologies they already know, expediting the creation and leveraging of reusable technical assets.

Danta - AEM Demo Project is the maven project contained source codes specifically for demoing Danta capability on AEM.

Prerequisites

  • Java 8
  • AEM 6.2 or later (for integration with AEM)
  • ACS AEM Commons

Documentation

Embedded Dependencies

This project embeds Danta dependencies using content-package-maven-plugin plugin, and is actived with deploy-aem-package profile. Danta bundles and AEMBase package will be installed under /apps/dantademo/install directory. See more about DantaFramework/AEM

Installation

  • Via AEM Package Manager, install ACS AEM Commons 3.17.0 or later
  • Clone this repository and review or change the Danta version in the pom.xml file
<properties>
      ...
       <!-- Danta version -->
      <danta.api.version>1.0.2-SNAPSHOT</danta.api.version>
      <danta.core.version>1.0.2-SNAPSHOT</danta.core.version>
      <danta.aem.version>1.0.6-SNAPSHOT</danta.aem.version>
      <danta.aem-base.version>1.0.2-SNAPSHOT</danta.aem-base.version>
  </properties>
  • Compile and deploy to AEM (See instructions below)

    Note: for fresh installation, make sure to install ACS Common before running the maven build command

Official documentation

License

Read License for more licensing information.

Contribute

Read here for more information.

Compile

mvn clean install

Deploy to AEM

Build to author instance

mvn clean install -Pdeploy-aem-package

Build to publish instance

mvn clean install -Pdeploy-aem-publish-package

Maven Build Failure

If maven build failed with error message, similar to below

Request failed: org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0021: /home/users/system/danta/zuskqdMThcLm-W1-QBV4[[rep:SystemUser]]: Mandatory property rep:principalName not found in a new node (500)

This is to "danta-config-service". To fix this:

or you can install via command line:

curl -u admin:admin -F file=@"SystemUser-DantaBase-1.0.0.zip" -F name="SystemUser-DantaBase-1.0.0.zip" \
        -F force=true -F install=true http://localhost:4505/crx/packmgr/service.jsp

Credit

Special thanks to Jose Alvarez, who named Danta for the powerful ancient Mayan pyramid, La Danta. La Danta is the largest pyramid in El Mirador—the biggest Mayan city found in Petén, Guatemala.

About

This package contained AEM application for demoing Danta Framwork's capabilities of being platform agnostic.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages