Integrate the WCM core components with AEM codebase
Core Components Integration
1. update all/pom.xml
a. Add below dependencies
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.content</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.config</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.all</artifactId>
<type>zip</type>
</dependency>
b. Add subpackage as a sibling XML element to embeddeds
<subPackages>
<subPackage>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.all</artifactId>
<filter>true</filter>
</subPackage>
</subPackages>
c. Add Embedds
<embedded>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.all</artifactId>
<type>zip</type>
<target>/apps/mysite-vendor-packages/application/install</target>
</embedded>
2. Update ui.apps/pom.xml
a. Add below dependency under dependencies section.
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.all</artifactId>
<type>zip</type>
</dependency>
b. Add below dependency under plugins section
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.all</artifactId>
</dependency>
3. Parent pom.xml
a. Add below dependency under dependencyManagement/dependencies section.
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.all</artifactId>
<type>zip</type>
<version>${core.wcm.components.version}</version>
<scope>provided</scope>
</dependency>
b. Finally, mention the required version of the ACS commons under properties section
<core.wcm.components.version>2.17.12<core.wcm.components.version>
No comments:
Post a Comment