Description
The Sling Feature Launcher installs packages in batches. When a missing dependency is encountered, the error message does not specify which package failed to install, which makes it quite hard to debug the problem.
[ERROR] Error while assembling launcher: Package has unresolved dependencies: day/cq610/social/enablement:cq-social-enablement-pkg:1.1.0 shaded.org.apache.jackrabbit.vault.packaging.DependencyException: Package has unresolved dependencies: day/cq610/social/enablement:cq-social-enablement-pkg:1.1.0 at shaded.org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl.resolveInstall(ExecutionPlanBuilderImpl.java:257) at shaded.org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanBuilderImpl.validate(ExecutionPlanBuilderImpl.java:239) at org.apache.sling.feature.extension.content.ContentHandler.buildExecutionPlan(ContentHandler.java:79) at org.apache.sling.feature.extension.content.ContentHandler.handle(ContentHandler.java:121) at org.apache.sling.feature.launcher.impl.FeatureProcessor.prepareLauncher(FeatureProcessor.java:159) at org.apache.sling.feature.launcher.impl.Main.main(Main.java:250)
It would be very useful to include the information in the error message.
Attachments
Issue Links
- is related to
-
SLING-8234 Feature launcher does not specify which content package requires a missing dependency
- Resolved