Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13441

Automate generation of ADDITIONAL-LICENSES.yml files during frontend builds

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.3.0
    • None
    • None
    • 0.5
    • Quasar
    • Puma Sprint 235, Puma Sprint 236, Puma Sprint 239

    Description

      Since 13.0 the code base contains ADDITIONAL-LICENSES.yml files in the src/main/resources/META-INF folder of frontend modules. These files cover the licenses of frontend files (JavaScript, CSS, etc.) packaged in the generated JAR file.

      Some examples:

      These ADDITIONAL-LICENSES.yml files are generated by a custom script written by jdegooijer (attached in CMS-11733).

      The license files need to stay in sync with the package.json files: whenever a dependency is changed, updated, added or remove the license file needs to be updated too. Currently that's a manual process, and requires the use of a custom, undocumented script.

      We should change all frontend build to generate the ADDITIONAL-LICENSES.yml files automatically, as part of the build. That way we'll be sure that these files stay in sync with the actual packaged dependencies.

      Attachments

        Issue Links

          Activity

            People

              ntrajkovski Nikola Trajkovski
              mdenburger Mathijs den Burger (Inactive)
              Frontend Chapter Frontend Chapter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: