Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Level 1
sunitaBorn
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
sunitaBorn
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
sunitaBorn
Level 1

01-06-2021

Dear All,

 

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

 

sunitaBorn_0-1622547398346.png

 

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,348 likes

Total Posts

3,226 posts

Correct Reply

916 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,348 likes

Total Posts

3,226 posts

Correct Reply

916 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

01-06-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

 

Answers (0)