Show Menu
TOPICS×

Using Maven for Communities

Overview

This section of the AEM Communities documentation is in addition to:
There are now two "uber" artifacts that replace individual artifacts:

Communities API Jar Artifact

Following is an example of a GAV for the AEM Communities API jar:
<dependency>
    <groupId>com.adobe.cq.social</groupId>
    <artifactId>cq-socialcommunities-api</artifactId>
    <version>1.11.170</version>
    <scope>provided</scope>
</dependency>


Ensure thet the version specified corresponds with the Communities package version installed for AEM Communities. To verify the installed version number:
  1. Login with adminstrative privileges.
  2. locate the package cq-socialcommunities-pkg-1.x.xxx
  3. extract the version from the package name
    • first version for AEM 6.3 is version 1.11.170
    • feature packs will be versions 1.12.xxx
It is recommended to keep up-to-date with the most recent Communities release.
Visit the Latest Releases section to identify the most recent version.

Maven Dependency Example

The Communities API jar must be specified before the Uber API jar.
<dependency>
    <groupId>com.adobe.cq.social</groupId>
    <artifactId>cq-socialcommunities-api</artifactId>
    <version>1.11.170</version>
    <scope>provided</scope>
</dependency>
<dependency>
    <groupId>com.adobe.aem</groupId>
    <artifactId>uber-jar</artifactId>
    <version>6.3.0</version>
    <scope>provided</scope>
    <classifier>apis</classifier>
</dependency>