You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2015/12/11 16:15:10 UTC

[jira] [Updated] (MSITE-700) All inclusion of resources up to ${basedir} when velocity 1.7 is used

     [ https://issues.apache.org/jira/browse/MSITE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hervé Boutemy updated MSITE-700:
--------------------------------
    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?

  was:
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?


> All inclusion of resources up to ${basedir} when velocity 1.7 is used
> ---------------------------------------------------------------------
>
>                 Key: MSITE-700
>                 URL: https://issues.apache.org/jira/browse/MSITE-700
>             Project: Maven Site Plugin
>          Issue Type: Improvement
>          Components: doxia integration
>    Affects Versions: 3.3
>            Reporter: Archimedes Trajano
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)