Cloud Manager build and deployment errors · updated
AEM analyser error: artifact requires X but no artifact is providing a matching capability
The requirements-capabilities analyser fails when an OSGi bundle declares a requirement (Require-Capability) that no other included bundle satisfies with a matching capability at that start level. Adobe suggests checking the manifest of the bundle you expected to provide the capability, and the requiring bundle's manifest to confirm the requirement is right.
The error
Adobe's example: '[ERROR] org.acme:mybundle:0.0.1-SNAPSHOT: Artifact org.acme:mybundle:0.0.1-SNAPSHOT requires org.foo.bar in start level 20 but no artifact is providing a matching capability in this start level.'
Typical causes
- A library that registers a service loader or extender capability isn't included in the deployment.
- A bnd plugin or annotation generated a requirement you don't actually need (for example an osgi.extender requirement).
- A dependency built for a different OSGi environment declares capabilities AEM Cloud Service doesn't provide.
- A version filter in the requirement is stricter than the provider's capability.
Reading the manifests
Open the requiring bundle's MANIFEST.MF and find the Require-Capability header for the namespace in the error. Then look for a matching Provide-Capability in the bundles you deploy. If none should exist, the requirement is wrong; if one should, the providing bundle is missing or its capability version doesn't match.
| Finding | Fix |
|---|---|
| Provider missing | Add the providing bundle to the all package |
| Requirement generated by tooling | Adjust bnd instructions or annotations |
| Version mismatch | Align versions of provider and consumer |
How to fix it
- Copy the namespace and filter from the error.
- Check the requiring bundle's Require-Capability header.
- Search deployed bundles for a matching Provide-Capability.
- Add the provider or remove the unneeded requirement.
- Re-run the analyser locally.
Related pages on this site
Questions
Is this the same as a missing Import-Package?
No. Imports are checked by api-regions-exportsimports; this analyser checks generic capabilities such as extenders and service loaders.
Does it run in Cloud Manager?
Yes, Adobe lists it as running locally and in Cloud Manager.
Where do I see the manifest?
In target/classes/META-INF/MANIFEST.MF after a build, or inside the bundle JAR.
Sources
- Adobe: AEM as a Cloud Service SDK Build Analyzer Maven Plugin (checked 10 Nov 2026)
Facts about Adobe's platform are from the linked Adobe pages, checked 10 Nov 2026. Explanations and examples are ours unless marked as Adobe's.