I have created project CIF Archetype Project, Once I build the project. I am able to see below bundles on Console - http://localhost:4502/system/console/bundles
However, their status is Installed not Active, there were some dependencies issue, I fixed all except first Bundle screenshot given below, but other bundles are still not active.
In order to fix this dependency issue I added this <Export-Packages> tag under parent pom.xml, once build it is giving below error:
Please help to fix this issue, I am stuck with this issue for long time now, trying to achieve Magento and AEM(6.4) Integration with CIF.
Solved! Go to Solution.
Build error that you have highlighted says "error found in bundle configuration" implies any issue due to the recent changes done on maven-bundle-plugin definition (Should be while adding Export packages list that you have mentioned)
Root cause of bundle not being "Active" seems to be simple which is "packages that we are referring in our bundle is not available/unable to find in the instance". However steps to be taken depend on the package that we are using.
Please share the below details:
Please find the required details below and suggest:
1. List of packages:
2. List of packages which are in red/not resolved state:
org.apache.sling.api.resource,version=[2.11,3) -- Cannot be resolved
org.apache.sling.api.resource.provider,version=[1.2,2) -- Cannot be resolved
com.adobe.granite.ui.components,version=[1.19,2) -- Cannot be resolved
com.adobe.granite.ui.components.ds,version=[1.3,2) -- Cannot be resolved
com.day.cq.search,version=[1.3,2) -- Cannot be resolved
3. Did you add any dependency in specific. If yes, mention the same - NO
4. Steps that you followed as part of this integration: https://www.adobe.io/apis/experiencecloud/commerce-integration-framework/getting-started.html#!Adobe...
@Heena91 - Which CIF version are you using with AEM 6.4 version ?
Not sure if the latest CIF Archetype project will work with AEM 6.4. But when I tried the same thing on AEM 6.5 and cloud it worked well.
If the dependencies is the only issue here then try creating bundle out of the dependent jar and deploy it with the project build.
You can refer below link to deploy it along with project built: