maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@codehaus.org>
Subject [jira] (ARCHETYPE-69) Resource filtering fails for Freemarker templates
Date Tue, 25 Nov 2014 20:50:12 GMT

     [ https://jira.codehaus.org/browse/ARCHETYPE-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov closed ARCHETYPE-69.
-----------------------------------

    Resolution: Won't Fix

Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.

> Resource filtering fails for Freemarker templates
> -------------------------------------------------
>
>                 Key: ARCHETYPE-69
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-69
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Archetypes
>         Environment: Ubuntu/Linux
>            Reporter: Leandro Rodrigo Saad Cruz
>            Priority: Critical
>
> Using 
> {code:xml}
> <resources>
>   <resource filtered="false">Template.ftl</resource> 
> </resources>
> {code}
> fails. Velocity still tries to parse the file, leading to an error:
> {noformat}
> [ERROR] Parser Exception: archetype-resources/Template.ftl : org.apache.velocity.runtime.parser.ParseException:
Encountered "data" at line 28, column 30.
> Was expecting:
>     "(" ...
>     
>         at org.apache.velocity.runtime.parser.Parser.generateParseException(Parser.java:3271)
>         at org.apache.velocity.runtime.parser.Parser.jj_consume_token(Parser.java:3155)
>         at org.apache.velocity.runtime.parser.Parser.IfStatement(Parser.java:1284)
>         at org.apache.velocity.runtime.parser.Parser.Statement(Parser.java:293)
>         at org.apache.velocity.runtime.parser.Parser.process(Parser.java:258)
>         at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:104)
>         at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:776)
>         at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:720)
>         at org.apache.velocity.Template.process(Template.java:123)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message