Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

AEM integration with Hybris

Avatar

Level 4

Hi Experts,

Did any one integrated the Hybris with AEM6.1? Can anyone share the step by step guide or any document that help us.

Thanks

~S

7 Replies

Avatar

Level 4

Hi Experts,

We are creating custom Adobe CQ commerce providers as per below example in URL.

https://helpx.adobe.com/experience-manager/using/creating-custom-cq-commerce-providers.html

It is throwing the error for com.adobe.cq.commerce.api versions mismatch.

Which version of com.adobe.cq.commerce.api fit for AEM 6.1? We already tried with 5.6.8 and 5.6.13 and also the uber-obsfucator as well.

Anyone have any example URL for AEM 6.1?

Thanks

~S

Avatar

Administrator

Hi 

The article you are referring here is tested on AEM 5.6.

Here in the article, the POM dependency used for "com.adobe.cq.commerce.api" is:-

//    <dependency>
            <groupId>com.adobe.cq.commerce</groupId>
            <artifactId>cq-commerce-core</artifactId>
            <version>5.6.8</version>
            <scope>provided</scope>
        </dependency>

 

I would say, go to :- http://localhost:4502/system/console/depfinder [Dependency finder] and add "com.adobe.cq.commerce.api" to Package/Classes and click Find.

This will show you the dependency...

As for 6.2, it is coming out to be:-

    <dependency>
        <groupId>com.adobe.cq.commerce</groupId>
        <artifactId>cq-commerce-core</artifactId>
        <version>5.14.102</version>
        <scope>provided</scope>
    </dependency>

 

For 6.1, it is :- 

<dependency>
    <groupId>com.adobe.cq.commerce</groupId>
    <artifactId>cq-commerce-core</artifactId>
    <version>5.13.12</version>
    <scope>provided</scope>
</dependency>

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Administrator

Apart from the above mentioned, there is a official documentation :- https://docs.adobe.com/docs/en/aem/6-1/develop/ecommerce/hybris.html

~kautuk



Kautuk Sahni

Avatar

Level 4

Hi Kautuk,

We are using below dependency in AEm 6.1:

<dependency>
    <groupId>com.adobe.cq.commerce</groupId>
    <artifactId>cq-commerce-core</artifactId>
    <version>5.13.12</version>
    <scope>provided</scope>
</dependency>

it is compiling correctly in local environment but getting the below error when publishing on the server:

Failed installing bundle : Unable to install/update bundle from dir \core\target\classes : Unresolved constraint[716]: Unable to resolve 716.0: missing requirement [716.0] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.cq.commerce.api)(version>=1.2.0)(!(version>=2.0.0)))

and on bundle console below error:

com.adobe.cq.commerce.api,version=[1.2,2) -- Cannot be resolved
com.adobe.cq.commerce.api.promotion,version=[1.2,2) from com.adobe.cq.commerce.cq-commerce-core (257)
com.adobe.cq.commerce.common,version=[1.2,2) -- Cannot be resolved

Thanks

~S
 

Avatar

Level 4

We also tried with below dependency in 6.2 but still samer error

  1. <dependency>
  2. <groupId>com.adobe.cq.commerce</groupId>
  3. <artifactId>cq-commerce-core</artifactId>
  4. <version>5.14.102</version>
  5. <scope>provided</scope>
  6. </dependency>

com.adobe.cq.commerce.api,version=[1.2,2) -- Cannot be resolved

 

Any idea what we are missing?

Avatar

Level 4

samery56615784 wrote...

We also tried with below dependency in 6.2 but still samer error

  1. <dependency>
  2. <groupId>com.adobe.cq.commerce</groupId>
  3. <artifactId>cq-commerce-core</artifactId>
  4. <version>5.14.102</version>
  5. <scope>provided</scope>
  6. </dependency>

com.adobe.cq.commerce.api,version=[1.2,2) -- Cannot be resolved

 

Any idea what we are missing?

 

It is working in 6.2 (included 6.2.0 uber.jar) and also in 6.0 as well.

However we need it in to 6.1.0. it was not working in 6.1.0 . Should we include the uber.jar(6.1.0 version)?

Thanks

~S