Skip to content

singhal425/aem-core-wcm-components

 
 

Repository files navigation

AEM Core WCM Components

Build Status Code Coverage

A set of standardized components that can be used to speed up development of web sites.

Available Components

The components' versioning scheme is documented on the AEM Core WCM Components' versioning policies wiki page

System Requirements

The core components are built on top of the Sling Models API 1.3, which is part of AEM 6.3. From version 1.0.4 the project requires Java 1.8 as an execution environment.

Installation

To install everything the released all package as released aggregate package can be installed via the AEM Package Manager.

For more information about the Package Manager please have a look at How to Work With Packages documentation page.

Build

The project has the following minimal requirements:

  • Java SE Development Kit 8 or newer
  • Apache Maven 3.3.1 or newer

For ease of build and installation the following profiles are provided:

  • autoInstallSinglePackage - install everything to an existing AEM author instance, as specified by http://${aem.host}:${aem.port}
  • autoInstallSinglePackagePublish - install everything to an existing AEM publish instance, as specified by http://${aem.publish.host}:${aem.publish.port}
  • autoInstallPackage - installs the package/bundle to an existing AEM author instance, as specified by http://${aem.host}:${aem.port}
  • autoInstallPackagePublish - installs the package/bundle to an existing AEM publish instance, as specified by http://${aem.publish.host}:${aem.publish.port}

UberJar

This project relies on the unobfuscated AEM 6.3 cq-quickstart. This is publicly available on https://repo.adobe.com

For more details about the UberJar please head over to the How to Build AEM Projects using Apache Maven documentation page.

Install everything

You can install everything needed to use the components on your running AEM instance by issuing the following command in the top level folder of the project:

mvn clean install -PautoInstallSinglePackage

Individual packages/bundles

You can install individual packages/bundles by issuing the following command in the top level folder of the project:

mvn clean install -PautoInstallPackage -pl <project_name(s)> -am

Please note that

  • -pl/-projects option specifies the list of projects that you want to install
  • -am/-also-make options specifies that dependencies should also be built

Include core components as subpackage into your own project maven build

The released version of the core components are available on the public maven repository at https://repo.adobe.com. To include the core components package into your own project maven build you can add the dependency

<dependency>
    <groupId>com.adobe.cq</groupId>
    <artifactId>core.wcm.components.all</artifactId>
    <type>zip</type>
    <version>1.0.4</version
</dependency>

and sub package section

<subPackage>
    <groupId>com.adobe.cq</groupId>
    <artifactId>core.wcm.components.all</artifactId>
    <filter>true</filter>
</subPackage>

to the content-package-maven-plugin.

For more information how to setup the Adobe Maven Repository (repo.adobe.com) for your maven build, please have a look at the related Knowledge Base article

About

AEM Core WCM Components

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 61.4%
  • JavaScript 32.3%
  • HTML 5.4%
  • CSS 0.9%