You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/04/10 21:10:25 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15234261#comment-15234261 ] 

Hudson commented on MSITE-700:
------------------------------

SUCCESS: Integrated in maven-plugins #5651 (See [https://builds.apache.org/job/maven-plugins/5651/])
[MSITE-700] added IT to show that #include can go at least to ${basedir} now (hboutemy: [http://svn.apache.org/viewvc/?view=rev&rev=1738454])
* maven-site-plugin/src/it/doxia-formats/src/site/apt/velocity-include-parse.apt.vm


> 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)