Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
slingfeature-maven-plugin 1.4.6
-
None
Description
Due to the way how the verify.bsh are written with a return statement after try and catch the following bug is triggered in BSH: https://github.com/beanshell/beanshell/issues/367.
You can reproduce by just inverting a condition, e.g. in https://github.com/apache/sling-slingfeature-maven-plugin/blob/56caf46d529f7f09e86e0a644357e17d00028263/src/it/apis-jar-wrapper-bundle/verify.bsh#L30 and you see that the build will still not fail.
Attachments
Issue Links
- causes
-
SLING-9889 Slingfeature-Maven-Plugin: Fix failing ITs
- Closed
- is related to
-
SLING-9883 ApisJarMojo: Provide-Capability should be collected from all contained bundles and exposed
- Closed
- links to