Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-700

All inclusion of resources up to ${basedir} when Velocity 1.7 is used

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.5.1
    • Component/s: doxia integration
    • Labels:
      None

      Description

      Based on MSITE-699. When velocity 1.7 is used it cannot #include("../../../README.md") and results in a nullpointer exception.

      Looking through the debugger it seems that it is using a ContextResourceLoader which limits scope of where to read the files.

      I can't find a facility to set the TEMPLATE_ROOT to ${basedir} can that be added?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                trajano Archimedes Trajano
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: