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

Reduce number of dependencies drawn transitively by the xwiki-velocity module

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0 M2
    • Fix Version/s: 3.0 M3
    • Component/s: {Unused} Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Namely split the module into 2:

      • xwiki-velocity-default
      • xwiki-velocity-webapp (implementation of VelocityEngine and VelocityConfiguration with hint = "webapp", this is to use use velocity with the WebappResourceLoader loading templates from the webapp's root dir)

      This allows other modules to only depend on what they need and thus reduce the number of transitive dependencies drawn

      Future: find a way to add xwiki-velocity-management and externalize registering an MBean per Velocity Engine

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: