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

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

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.0 M3
    • 3.0 M2
    • {Unused} Core
    • None
    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: