How to Build proxy component for different Brand in AEM cloud SDK | Community
Skip to main content
Level 2
June 1, 2021
Solved

How to Build proxy component for different Brand in AEM cloud SDK

  • June 1, 2021
  • 1 reply
  • 875 views

Dear All,

 

One of my requirement is that , I want to build proxy component for reusability in my AEM cloud SDK , as shown below.

 

 

How can I build using latest arch type to get below folder structure with below pom.xml

 

*********** pom.xml inside aem-mysite-core (It should be proxy of core component) ********
<groupId>com.sunita.mysite</groupId>
    <artifactId>parent</artifactId>
    <name>AEM Cloud SDK MySite Core parent POM</name>
    <version>1.0-SNAPSHOT</version>
    <packaging>pom</packaging>

 

*********** brand1 pom.xml (It should be proxy of mysite) ********
 <!-- Inheriting from parent pom mysite-->
    <parent>
        <groupId>com.sunita.mysite</groupId>
        <artifactId>parent</artifactId>
        <version>1.0-SNAPSHOT</version>
    </parent>   

 

 <!--brand1 -->
    <groupId>com.adobe.aem.brand1</groupId>
    <artifactId>brand1</artifactId>
    <packaging>pom</packaging>
    <version>0.0.1-SNAPSHOT</version>
    <description>Brand Site</description> 

 

Please help me how can I achieve this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

I hope you will be deployed both projects together in the same instance. In that case to proxy components, you don't need to do any changes in pom until you are not using java/model/bundles.

you can simply do a proxy similar to core componnets

 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 1, 2021

Hi,

I hope you will be deployed both projects together in the same instance. In that case to proxy components, you don't need to do any changes in pom until you are not using java/model/bundles.

you can simply do a proxy similar to core componnets

 

Arun Patidar