Konrad Windszus created SLING-9886:
--------------------------------------

             Summary: Slingfeature-maven-plugin: ITs always succeed
                 Key: SLING-9886
                 URL: https://issues.apache.org/jira/browse/SLING-9886
             Project: Sling
          Issue Type: Bug
          Components: Feature Model
    Affects Versions: slingfeature-maven-plugin 1.4.6
            Reporter: Konrad Windszus
             Fix For: slingfeature-maven-plugin 1.4.8


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to