I am getting this error with my CloudManager build. The build succeeds, and I am definitely generating a content package. I have triple checked my pom files and compared against the latest archetype and I can't really see anything I can change.
The error reads:
Build did not produce any non-skipped content package artifacts. At least one non-skipped content package is required for AEM Cloud Service builds.
It would be great to get a description from Adobe about precisely what this requirement is. ie. what is the code that throws this error looking for? A specific package in a specific folder? Or a file with a specific value somewhere?
Any help is greatly appreciated!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi LokeshVajrala,
Your comment helped me track down the answer. The line:
<cloudManagerTarget>none</cloudManagerTarget>
Got put in the root pom, which was then inherited by the child pom. For anyone with this issue in the future, it helps to check the properties.xml that gets generated with the build (ex. target/vault-work/META-INF/vault/properties.xml) to make sure you don't see a line line this:
<entry key="cloudManagerTarget">none</entry>
For your "all" package.
Thank you!
Check your project modules pom.xml files have correct packageType mentioned as per the documentation - https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/develo...
And next check this section - https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/develo... (I'm guessing you might be missing this section)
Marking Packages for Adobe Cloud Manager DeploymentIn every project generating a Package, except for the container (
all
) project, add<cloudManagerTarget>none</cloudManagerTarget>
to the<properties>
configuration of thefilevault-package-maven-plugin
plug-in declaration to ensure they are not deployed by Adobe Cloud Manager. The container (all
) package should be the singular package deployed via Cloud Manager, which in turn embeds all required code and content packages.
Hi LokeshVajrala,
Your comment helped me track down the answer. The line:
<cloudManagerTarget>none</cloudManagerTarget>
Got put in the root pom, which was then inherited by the child pom. For anyone with this issue in the future, it helps to check the properties.xml that gets generated with the build (ex. target/vault-work/META-INF/vault/properties.xml) to make sure you don't see a line line this:
<entry key="cloudManagerTarget">none</entry>
For your "all" package.
Thank you!