Core components classes/models in Eclipse

Finding Core Components Classes and Models in Eclipse

Finding Core Components Classes and Models in Eclipse

Date: March 07, 2020

Hello Everyone,

AEM provides a range of out-of-the-box components, such as lists, images, navigation, and more. Whether you’re developing custom components or enhancing existing ones, understanding the core components' implementation is crucial.

If you want to locate the core components' implementation classes and models in Eclipse or any other IDE, you’ll need to include specific dependencies in your POM file.

Steps to Locate Core Components Classes

  1. Add Dependencies in Your POM File

    To access the core components, you need to add dependencies to your project’s POM file.

    In the Parent POM of Your Project:

    <dependency>
      <groupId>com.adobe.cq</groupId>
      <artifactId>core.wcm.components.core</artifactId>
      <version>2.4.0</version>
      <scope>provided</scope>
    </dependency>
              

    In the Core POM of Your Project:

    <dependency>
      <groupId>com.adobe.cq</groupId>
      <artifactId>core.wcm.components.core</artifactId>
    </dependency>
              
  2. Locate the Implementation Classes

    After adding these dependencies, you can find the core components' implementation classes in your IDE. Typically, they are located under:

    Core/Maven dependencies/com.adobe.cq.wcm.core.components.models
              

By including the appropriate dependencies in your POM file, you can easily access and examine the core components' implementation classes and models. This is essential for both custom development and enhancing existing components.

I hope you found this guide helpful! If you have any questions or suggestions, please feel free to leave a comment below.

Comments

Popular posts from this blog

AEM show/hide enable/disable dialog fields based on Checkbox

AEM Caching with Google Guava: Use Case, Importance, and Implementation

Creating a Chrome Extension for Easy Redirection to Multiple AEM Instances