Expand my Community achievements bar.

CIF core project is not compiling locally

Avatar

Level 8

Hello Team,

 

https://github.com/adobe/aem-core-cif-components

I have downloaded this CIF core project. Tried to run the command: mvn clean install -DskipTests its failing

same case with all forder. There also, project didnot compiled.

 

Can someone download the project and try compiling? For me, I wanted to modify the java files and wanted to build this core project only.

 

Thanks

1 Reply

Avatar

Community Advisor

Hi @Mahesh_Gunaje 

Can you please share what error you are getting. 

Also you can try creating a project using the maven archtype. Add this property 

-D includeCommerce=y

 

Add CIF dependency 

<dependency>
<groupId>com.adobe.commerce.cif</groupId>
<artifactId>core-cif-components-apps</artifactId>
<type>zip</type>
<version>x.y.z</version>
</dependency>
<dependency>
<groupId>com.adobe.commerce.cif</groupId>
<artifactId>core-cif-components-config</artifactId>
<type>zip</type>
<version>x.y.z</version>
</dependency>
<dependency>
<groupId>com.adobe.commerce.cif</groupId>
<artifactId>core-cif-components-core</artifactId>
<version>x.y.z</version>
</dependency>
<dependency>
<groupId>com.adobe.commerce.cif</groupId>
<artifactId>graphql-client</artifactId>
<version>x.y.z</version>
</dependency>
<dependency>
<groupId>com.adobe.commerce.cif</groupId>
<artifactId>magento-graphql</artifactId>
<version>x.y.z</version>
</dependency>

 

And try building the project.