Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-785

Implementation/Testing/Code Review: Convert GenerateRunner into maven plugin

    XMLWordPrintable

Details

    • CP: sprint 92, CP: sprint 94, CP: sprint 95, CP: sprint 96, CP: sprint 97, CP: sprint 98, CP: sprint 99, CP: sprint 100, CP: sprint 101, CP: sprint 102, CP: sprint 103, CP: sprint 106, CP: sprint 107
    • 8
    • Core: Platform
    • R1 2021

    Description

      domain-model-runtime ships with the complete domain-models-interface-extensions submodule that contains the GenerateRunner class to generate Java files from RAML files.

      We need this at compile time only.

      The clean solution is a maven plugin, for example rmb-maven-plugin, that runs at compile time, and will not be included into the runtime artifact.

      The RAML generating code is based on a library that uses Guava 19 that has a security vulnerability (RMB-283) and the library breaks for fixed Guava versions.
      By moving the generating code into a maven plugin that runs a compile time only we can avoid to ship the runtime with vulnerable Guava.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                julianladisch Julian Ladisch
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases