Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The contrib/crankstart/launcher build fails with Java 1.8 due to the org.apache.sling.crankstart.test.services bundle not starting as the framework (bundle 0) has an empty Provide-Capability header - so the bundle is missing the (&(osgi.ee=JavaSE)(version=1.5)) requirement.
Interestingly, if I start a Sling instance manually with the same provisioning model and JVM, that bundle starts and Provide-Capability is correctly populated.
The startup command for that is
rm -rf CRANKSTART ; \ java -jar \ target/org.apache.sling.crankstart.launcher-1.9.9-SNAPSHOT.jar \ src/test/resources/crankstart-model.txt src/test/resources/provisioning-model