AEM 6.4 CQ Commons | Community
Skip to main content
Level 4
September 3, 2018

AEM 6.4 CQ Commons

  • September 3, 2018
  • 1 reply
  • 7331 views

The below error is displayed when bundles are deployed in AEM 6.4.Request you to please advsie the exact versions of the Dependencies that should be inlcuded in POM file.

com.day.cq.commons,version=[5.6,6) -- Cannot be resolved

com.day.cq.commons.jcr,version=[5.6,6) -- Cannot be resolved

com.day.cq.mailer,version=[5.6,6) -- Cannot be resolved

com.day.cq.replication,version=[5.12,6) -- Cannot be resolved

Current versions are :

<dependency>

<groupId>com.day.cq</groupId>

<artifactId>cq-mailer</artifactId>

<version>5.6.4</version>

<scope>provided</scope>

</dependency>

<dependency>

<groupId>com.day.cq</groupId>

<artifactId>cq-commons</artifactId>

<version>5.6.4</version>

<scope>provided</scope>

</dependency>

<dependency>

<groupId>com.day.cq.wcm</groupId>

<artifactId>cq-wcm-commons</artifactId>

<version>5.8.8</version>

<scope>provided</scope>

</dependency>

<dependency>

<groupId>com.day.cq.wcm</groupId>

<artifactId>cq-wcm-core</artifactId>

<version>5.7.2</version>

<scope>provided</scope>

</dependency>

<dependency>

<groupId>com.day.cq.wcm</groupId>

<artifactId>cq-wcm-foundation</artifactId>

<version>5.6.4</version>

<scope>provided</scope>

</dependency>

The below was also included in the pom file.

<dependency>

<groupId>com.adobe.aem</groupId>

<artifactId>uber-jar</artifactId>

<version>6.4.0</version>

<classifier>apis</classifier>

<scope>provided</scope>

</dependency>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

joerghoh
Adobe Employee
Adobe Employee
September 3, 2018

You should be able to remove the version numbers from explicit dependencies, as they are included in the uber.jar

Jörg

Shakthi1Author
Level 4
September 3, 2018

Thanks a lot.I will remove those do build and deploy.