Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9886

Slingfeature-maven-plugin: ITs always succeed

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: