You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ole Ersoy (JIRA)" <ji...@codehaus.org> on 2007/03/04 16:57:00 UTC

[jira] Created: (MNG-2856) Maven Archetype Plugin Changes PNG images

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

        

[jira] Commented: (MNG-2856) Maven Archetype Plugin Changes PNG images

Posted by "Franz Allan Valencia See (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92151 ] 

Franz Allan Valencia See commented on MNG-2856:
-----------------------------------------------

You can do something like this

<archetype>
  ...
    <resource filtered="false">...</resource>
  ...
</archetype>

To avoid filtering of your resources.

> 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

        

[jira] Closed: (MNG-2856) Maven Archetype Plugin Changes PNG images

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2856.
------------------------------

    Resolution: Duplicate

General binary resource filtering has already been raised in ARCHETYPE.

> 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
>             Fix For: Reviewed Pending Version Assignment
>
>
> 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

        

[jira] Updated: (MNG-2856) Maven Archetype Plugin Changes PNG images

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-2856:
------------------------------

    Component/s:     (was: Plugin Creation Tools)

> Maven Archetype Plugin Changes PNG images
> -----------------------------------------
>
>                 Key: MNG-2856
>                 URL: http://jira.codehaus.org/browse/MNG-2856
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: Fedora Core 6
>            Reporter: Ole Ersoy
>            Priority: Minor
>             Fix For: Reviewed Pending Version Assignment
>
>
> 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