Dear All,
Did anyone had issue with Custom Indexes not getting deployed on AEM cloud pipeline, and failing/error at deploy to dev step. Had followed this adobe official documentation(https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/indexing?lang=en ) and made the changes, the build and deployment are successful in local and testing was successful. But same is not true on cloud.

In the deployment log, one thing we observed is the ui.apps:0.0.1-SNAPSHOT was missing and cloud was unable to find. But in the build log, we can see the ui.apps:0.0.1-SNAPSHOT package was build successfully.
Any leads/help is much appreciated here.
IN Cloud sample log stmt:
build Log:
21:18:17,712 [main] [INFO] --------<com.xxx......ui.apps >---------
21:18:17,712 [main] [INFO] Building xxx..... - UI apps 0.0.1-SNAPSHOT [6/14]
21:18:17,712 [main] [INFO] from ui.apps/pom.xml
Deployment to dev log:
org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl Refusing to install package com.xxx..... ui.content:0.0.1-SNAPSHOT-cp2fm-converted: required dependencies missing: [com.xxx..... .ui.apps:0.0.1-SNAPSHOT]","orig_time"
Changes made so far:
ui.apps/src/main/content/jcr_root/_oak_index/xxxx.translationObjectID-1-custom-1/.content.xml:
<?xml version="1.0" encoding="UTF-8"?>
xmlns:rep="internal"
jcr:mixinTypes="[rep:AccessControllable]"
jcr:primaryType="oak:QueryIndexDefinition"
type="lucene"
async="[async]"
compatVersion="{Long}2"
includedPaths="[/content/projects]">
<indexRules jcr:primaryType="nt:unstructured">
<nt:unstructured jcr:primaryType="nt:unstructured">
<properties jcr:primaryType="nt:unstructured">
<translationObjectID jcr:primaryType="nt:unstructured" name="translationObjectID" propertyIndex="{Boolean}true" />
</properties>
</nt:unstructured>
</indexRules>
</jcr:root>
ui.apps/src/main/content/META-INF/vault/filter.xml:
<filter root="/oak:index/xxxx.translationObjectID-1-custom-1"/>
</workspaceFilter>
ui.apps/src/main/content/META-INF/vault/properties.xml:
<?xml version="1.0" encoding="UTF-8"?>
<properties>
<entry key="noIntermediateSaves">true</entry>
<entry key="allowIndexDefinitions">true</entry>
<entry key="group">xxxx</entry>
<entry key="name">xxxx.ui.apps</entry>
<entry key="acHandling">merge</entry>
<entry key="version">0.0.1-SNAPSHOT</entry>
</properties>
ui.apps/pom.xml:
<configuration>
<allowIndexDefinitions>true</allowIndexDefinitions>
<properties>
<acHandling>merge_preserve</acHandling>
<cloudManagerTarget>none</cloudManagerTarget>
<noIntermediateSaves>true</noIntermediateSaves>
</properties>
ui.apps.structure/pom.xml:
<configuration>
<allowIndexDefinitions>true</allowIndexDefinitions>
<properties>
<cloudManagerTarget>none</cloudManagerTarget>
<noIntermediateSaves>true</noIntermediateSaves>
</properties>
<!-- oak index root -->
<filter><root>/oak:index</root></filter>
</filters>
</configuration>
Project pom.xml (root):
<options>
<immutableRootNodeNames>apps,libs,oak:index</immutableRootNodeNames>
</options>
Thanks
Thabrez