Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11330

Jetty distribution does not automatically bundle webjars used by XAR applications

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      If you add a webjar dependency on a XAR application (for instance: xwiki-platform-panels-ui), it will not be bundled in the Jetty distribution, unless you manually add it to the war.

      That is why we have these dependencies:
      https://github.com/xwiki/xwiki-enterprise/blob/master/xwiki-enterprise-web/pom.xml#L851

      Which is not very good IMO. (see comments there: https://github.com/xwiki/xwiki-enterprise/commit/0b544af38da866cdfe9eb570370b23d4a925649e)

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              gdelhumeau Guillaume Delhumeau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: