Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Hi All, The build in cloud failed with the error Unable to read manifest file (invalid manifest format) -> [Help 1]

Avatar

Level 1

I am performing the build on the cloud in a development environment, and the build fails in the package structure with the message "Unable to read manifest file (invalid manifest format) -> [Help 1]." In the local environment, everything works correctly and as expected. I believe that this message is not the actual issue but that the problem lies elsewhere. The project has two folders, 'ui.frontend' and 'ui.frontend.sites.' Additionally, it is configured with JCR and filters.xml. I have also tried running the 'mvn clean package' command, which, according to the documentation, triggers the cloud build, but locally, there are no issues. I have also verified that there are no dependencies accessible only from my local environment. Thank you for any suggestions.

2 Replies

Avatar

Community Advisor

@ast_markgiul_77 are you getting error in ui.apps.structure? It could be because of overlap in filter.xml in your two frontend modules.

Avatar

Level 1

Hi, @Shashi_Mulugu , thanks for your reply, Since I am new to AEM, could you give me more details? Also because locally everything works properly, these are my package apps filters:

<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
    <filter root="/apps/first-app/clientlibs"/>
    <filter root="/apps/first-app/components"/>
    <filter root="/apps/first-app/i18n"/>
    <filter root="/apps/cq"/>
    <filter root="/apps/granite"/>
    <filter root="/apps/second-app/clientlibs"/>
    <filter root="/apps/second-app/components"/>
    <filter root="/apps/second-app/i18n"/>
</workspaceFilter>

 and this is the part of POM when declare the apps filters for the ui.structures:

<filters>
                        <!-- /apps root -->
                        <filter>
                            <root>/apps</root>
                        </filter>
                        <filter>
                            <root>/apps/first-app</root>
                        </filter>
                        <filter>
                            <root>/apps/second-app</root>
                        </filter>

                        <!-- Common overlay roots -->
                        <filter>
                            <root>/apps/sling</root>
                        </filter>
                        <filter>
                            <root>/apps/cq</root>
                        </filter>
                        <filter>
                            <root>/apps/dam</root>
                        </filter>
                        <filter>
                            <root>/apps/wcm</root>
                        </filter>
                        <filter>
                            <root>/apps/msm</root>
                        </filter>

                        <!-- Immutable context-aware configurations -->
                        <filter>
                            <root>/apps/settings</root>
                        </filter>

                        <!-- DAM folder root, will be created via repoinit -->
                        <filter>
                            <root>/content/dam/first-app</root>
                        </filter>

                    </filters>

thanks a lot