Details

    • Reviewed
    • Hide
      Upgrade yetus to 0.15.0.

      Some notable differences:
      Whitespace related checks are renamed to blanks.
      Use xmllint instead of jrunscript for validating xml files.
      For github there is an extra step to write commit status back to github but for HBase it does not work due to insufficient permission.
      Show
      Upgrade yetus to 0.15.0. Some notable differences: Whitespace related checks are renamed to blanks. Use xmllint instead of jrunscript for validating xml files. For github there is an extra step to write commit status back to github but for HBase it does not work due to insufficient permission.

    Description

      Now we use the one in yetus for validating, where it uses jrunscript to execute a simple javascript script.

      But the javascript engine has been removed from JDK starting from JDK 15, so in JDK 17 we can not use this way any more.

      https://openjdk.java.net/jeps/372

      We should find another way to validate xml files.

      =========

      In newer version, yetus has already changed to use xmllint, so let's see how to upgreade yetus.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: