I am seeing this error when trying to build my project. The email package is provided in the acs-aem-commons-bundle but there isn't a zip version to add in the pom.xml for the all project. I've seen a few similar issues that only point to the documentation and I'm having issues trying to find a resolution for this.
Can someone provide more than an link to documentation on how to resolve this. I've tried everything I've seen but nothing seems to fix it.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Here is the recommended way to add acs commons to your projects.
<dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-content</artifactId> <version>5.2.0</version> <type>content-package</type> <classifier>min</classifier> </dependency>
<embedded> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-ui.apps</artifactId> <type>zip</type> <target>/apps/my-app-packages/application/install</target> </embedded> <embedded> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-ui.content</artifactId> <type>zip</type> <target>/apps/my-app-packages/content/install</target> </embedded>
<dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-bundle</artifactId> <version>5.2.0</version> <scope>provided</scope> </dependency>
Here is the recommended way to add acs commons to your projects.
<dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-content</artifactId> <version>5.2.0</version> <type>content-package</type> <classifier>min</classifier> </dependency>
<embedded> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-ui.apps</artifactId> <type>zip</type> <target>/apps/my-app-packages/application/install</target> </embedded> <embedded> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-ui.content</artifactId> <type>zip</type> <target>/apps/my-app-packages/content/install</target> </embedded>
<dependency> <groupId>com.adobe.acs</groupId> <artifactId>acs-aem-commons-bundle</artifactId> <version>5.2.0</version> <scope>provided</scope> </dependency>
Thanks. That did the trick.
Views
Replies
Total Likes
Below you could see 1st I have identified maven dependency for com.adobe.acs.commons.email package -
Then I have added
<dependency>
<artifactId>acs-aem-commons-bundle</artifactId>
<version>5.0.14</version>
<groupId>com.adobe.acs</groupId>
<scope>provided</scope>
</dependency>
in parent pom.xml as shown below -
Then added below dependency in core pom.xml -
<dependency>
<artifactId>acs-aem-commons-bundle</artifactId>
<groupId>com.adobe.acs</groupId>
</dependency>
Now Maven build from eclipse gives me success status -
I am using acs commons version 5.0.14 with AEM 6.5.9. Hope this will help.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies