maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Ersoy (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-2856) Maven Archetype Plugin Changes PNG images
Date Sun, 04 Mar 2007 15:57:00 GMT
Maven Archetype Plugin Changes PNG images
-----------------------------------------

                 Key: MNG-2856
                 URL: http://jira.codehaus.org/browse/MNG-2856
             Project: Maven 2
          Issue Type: Bug
          Components: Plugin Creation Tools
    Affects Versions: 2.0.4
         Environment: Fedora Core 6
            Reporter: Ole Ersoy
            Priority: Minor


When the maven archetype serializes 123.png, it changes the file, making it unreadable.

Here's the log info:

[WARNING]
org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/src/main/resources/images/123.png
[line 9,column 50] : $I is not a valid reference.
[WARNING]
org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
archetype-resources/src/main/resources/images/123.png
[line 11,column 115] : $I is not a valid reference.

Maybe there needs to be a binary resources tag in the archetype descriptor, so that the maven
archetype simply copies binary resources, without attempting to evaluate template parameters.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message