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

Investigation/Design: Convert GenerateRunner into maven plugin

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      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 105
    • Story Points:
      8
    • Development Team:
      Core: Platform
    • Release:
      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

                Assignee:
                julianladisch Julian Ladisch
                Reporter:
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases