Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F2DC18B8A for ; Sun, 6 Mar 2016 20:54:41 +0000 (UTC) Received: (qmail 5657 invoked by uid 500); 6 Mar 2016 20:54:40 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 5597 invoked by uid 500); 6 Mar 2016 20:54:40 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 5584 invoked by uid 99); 6 Mar 2016 20:54:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Mar 2016 20:54:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AAD182C1F54 for ; Sun, 6 Mar 2016 20:54:40 +0000 (UTC) Date: Sun, 6 Mar 2016 20:54:40 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MSITE-700) All inclusion of resources up to ${basedir} when Velocity 1.7 is used MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MSITE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182323#comment-15182323 ] Michael Osipov commented on MSITE-700: -------------------------------------- Please retest with Doxia Sitetools 1.8-SNAPSHOT from trunk. It should work now otherwise I am going to close as invalid. > 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)