Michael Osipov created DOXIASITETOOLS-78: --------------------------------------------
Summary: Velocity's ContextTool fails to configure Key: DOXIASITETOOLS-78 URL: https://jira.codehaus.org/browse/DOXIASITETOOLS-78 Project: Maven Doxia Sitetools Issue Type: Bug Components: Doc renderer Affects Versions: 1.3 Environment: Maven 2.2.1, Maven Site Plugin 3.2 Reporter: Michael Osipov Priority: Critical Attachments: Velocity merge exception.png The newly introduced ToolManager creates an unusable {{ContextTool}}. I have defined this property in {{pom.xml/project/properties}} section: {code:xml} <maven.compiler.target>1.6</maven.compiler.target> {code} As per doc, all properties are available in the Velocity context. It simply does not matter whether you say {{$context}} or {{$context.get("...")}} in your apt.vm template, it fails with runtime exception from {{velocity.getEngine().mergeTemplate( resource, siteContext.getInputEncoding(), vc, sw );}} See attached screenshot. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira