Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Bundle [core-bundle] is importing package(s) com.adobe.acs.commons.email in start level 20 but no bundle is exporting these for that s tart level.

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Robert-Harper 

 

Here is the recommended way to add acs commons to your projects.

  1. Add the dependency to content pom.xml
    <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>
  2. Add the below embed property in all projects pom.xml
    <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>

  3. Add the below dependency to core projects pom.xml
    <dependency>
        <groupId>com.adobe.acs</groupId>
        <artifactId>acs-aem-commons-bundle</artifactId>
        <version>5.2.0</version>
        <scope>provided</scope>
    </dependency>

    Thanks

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @Robert-Harper 

 

Here is the recommended way to add acs commons to your projects.

  1. Add the dependency to content pom.xml
    <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>
  2. Add the below embed property in all projects pom.xml
    <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>

  3. Add the below dependency to core projects pom.xml
    <dependency>
        <groupId>com.adobe.acs</groupId>
        <artifactId>acs-aem-commons-bundle</artifactId>
        <version>5.2.0</version>
        <scope>provided</scope>
    </dependency>

    Thanks

Avatar

Community Advisor

Below you could see 1st I have identified maven dependency for com.adobe.acs.commons.email package -

 

DEBAL_DAS_0-1647953191832.png

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 -

DEBAL_DAS_1-1647953331099.png

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 -

DEBAL_DAS_2-1647953504233.png

 

I am using acs commons version 5.0.14 with AEM 6.5.9. Hope this will help.