내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

AEM Content pages getting deleted after maven build

Avatar

Level 3

Hello Team !

 

Recently I have created a project with Maven Archetype 40 and AEM version of 6.5.15. Development was going through and suddenly after build the content page structure got deleted after the build. This happens intermediately in each time. The filter.xml on the ui.content is given for merge and not given any delete exclusions. 

 



Is this an issue with Archetype version or any other ? Please advice if anyone have faced this issue recently ?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 3

check out for filter.xml under ui.content. and try to add following with mode "merge" .

<filter root="/content/yourproject" mode="merge"/>
<filter root="/content/experience-fragments/yourproject" mode="merge"/>

Thanks ,
kaushik



원본 게시물의 솔루션 보기

4 답변 개

Avatar

Employee Advisor

This is normally caused by an incorrect filter.xml; please note that you have multiple content packages as part of your deployment, not only ui.apps; as content is removed, you should check the filter of the ui.content module.

Avatar

Community Advisor

check your filter.xml to see if there are any root-level paths, which override your content pages.

if you would like to maintain a separate content package, you can exclude the content path filter altogether.

Thanks,
Sravan

Avatar

Community Advisor

@akashkriz005  I recommand you to delete the /content/<content path> and /content/experience-fragment path from your filter.xml file and validate it. 

 

As you said this is intermediately happening then it should not be a issue with Archetype. I tried Archetype 40 in my local and its absolutly fine 

Avatar

정확한 답변 작성자:
Level 3

check out for filter.xml under ui.content. and try to add following with mode "merge" .

<filter root="/content/yourproject" mode="merge"/>
<filter root="/content/experience-fragments/yourproject" mode="merge"/>

Thanks ,
kaushik