[ https://issues.apache.org/jira/browse/SLING-9886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved SLING-9886. ------------------------------------ Resolution: Fixed Fixed in https://github.com/apache/sling-slingfeature-maven-plugin/commit/a5439d441f3d394cfe5d77cb71027e3857d1dab4. > 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 > Assignee: Konrad Windszus > Priority: Major > 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)