You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@codehaus.org> on 2008/12/02 11:04:19 UTC

[jira] Created: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

${project.build.sourceEncoding} not honoured.
---------------------------------------------

                 Key: MRRESOURCES-36
                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
             Project: Maven 2.x Remote Resources Plugin
          Issue Type: New Feature
    Affects Versions: 1.0, 1.0-beta-2, 1.0-alpha-6, 1.0-alpha-5, 1.0-alpha-4, 1.0-alpha-3, 1.0-alpha-2, 1.0-alpha-1
         Environment: Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"

            Reporter: Christian Schulte
            Priority: Blocker


Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.



-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

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

Jason van Zyl updated MRRESOURCES-36:
-------------------------------------

    Affects Version/s:     (was: 1.0-alpha-6)
                           (was: 1.0-alpha-5)
                           (was: 1.0-alpha-4)
                           (was: 1.0-beta-2)
                           (was: 1.0-alpha-3)
                           (was: 1.0-alpha-2)
                           (was: 1.0-alpha-1)
        Fix Version/s: 1.0.1

> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Assignee: Jason van Zyl
>            Priority: Blocker
>             Fix For: 1.0.1
>
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2, MRRESOURCES-36-3.patch, MRRESOURCES-36-4.patch, MRRESOURCES-36-4.zip
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRRESOURCES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MRRESOURCES-36:
----------------------------------

    Fix Version/s:     (was: 1.0.1)
                   1.1

Moving fix-for to 1.1 since 1.0.1 release didn't make it (owing to incorrect source-release format), and now we need a new feature added to this plugin to support a standardized maven source-release assembly descriptor for multi-module projects. The next release attempt will be for 1.1 and include this feature.

FWIW, the feature is described in MRRESOURCES-41

> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Assignee: Jason van Zyl
>            Priority: Blocker
>             Fix For: 1.1
>
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2, MRRESOURCES-36-3.patch, MRRESOURCES-36-4.patch, MRRESOURCES-36-4.zip
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRRESOURCES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MRRESOURCES-36:
-----------------------------------------

    Attachment: MRRESOURCES-36-3.patch

MRRESOURCES-36-2 was incorrect.

> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2, 1.0-alpha-3, 1.0-alpha-4, 1.0-alpha-5, 1.0-alpha-6, 1.0-beta-2, 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2, MRRESOURCES-36-3.patch
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

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

Jason van Zyl closed MRRESOURCES-36.
------------------------------------

    Resolution: Fixed

> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Assignee: Jason van Zyl
>            Priority: Blocker
>             Fix For: 1.0.1
>
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2, MRRESOURCES-36-3.patch, MRRESOURCES-36-4.patch, MRRESOURCES-36-4.zip
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRRESOURCES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MRRESOURCES-36:
-----------------------------------------

    Attachment: MRRESOURCES-36-4.zip
                MRRESOURCES-36-4.patch

Added tests. MRRESOURCES-36-4.patch is the patchfile. MRRESOURCES-36-4.zip contains test resources (unzip relative to the plugins basedir). When adding the test resources from the zip to subversion, the subversion property svn:mime-type should be set to application/octet-stream to mark these resources binary. For example:

{code}
svn add src/test/resources/UTF-8.bin.vm
svn add src/test/resources/ISO-8859-1.bin.vm
svn propset svn:mime-type application/octet-stream src/test/resources/UTF-8.bin.vm
svn propset svn:mime-type application/octet-stream src/test/resources/ISO-8859-1.bin.vm
{code}


> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2, 1.0-alpha-3, 1.0-alpha-4, 1.0-alpha-5, 1.0-alpha-6, 1.0-beta-2, 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2, MRRESOURCES-36-3.patch, MRRESOURCES-36-4.patch, MRRESOURCES-36-4.zip
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRRESOURCES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MRRESOURCES-36:
-----------------------------------------

    Attachment: MRRESOURCES-36-2

Patch additionally adding a sourceEncoding attribute to the remote-resources.mdo model. When creating a bundle the source encoding of the resources is stored along the remote-resources.xml document. When processing such a bundle that encoding is used for reading the remote resources. Additionally, when processing a bundle, all resources will be written using ${project.build.sourceEncoding}, if specified.

> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2, 1.0-alpha-3, 1.0-alpha-4, 1.0-alpha-5, 1.0-alpha-6, 1.0-beta-2, 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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] Reopened: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

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

Jason van Zyl reopened MRRESOURCES-36:
--------------------------------------


> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Assignee: Jason van Zyl
>            Priority: Blocker
>             Fix For: 1.0.1
>
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2, MRRESOURCES-36-3.patch, MRRESOURCES-36-4.patch, MRRESOURCES-36-4.zip
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRRESOURCES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MRRESOURCES-36:
-----------------------------------------

    Attachment: MRRESOURCES-36

New sourceEncoding parameter and updated ProcessRemoteResourcesMojo.java to honour source encodings.

> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2, 1.0-alpha-3, 1.0-alpha-4, 1.0-alpha-5, 1.0-alpha-6, 1.0-beta-2, 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MRRESOURCES-36
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRRESOURCES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172075#action_172075 ] 

Jason van Zyl commented on MRRESOURCES-36:
------------------------------------------

After applying I get this:

-------------------------------------------------------------------------------
Test set: org.apache.maven.plugin.resources.remote.RemoteResourcesMojoTest
-------------------------------------------------------------------------------
Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.329 sec <<< FAILURE!
testVelocityUTF8(org.apache.maven.plugin.resources.remote.RemoteResourcesMojoTest)  Time elapsed: 0.095 sec  <<< ERROR!
java.lang.NullPointerException
	at org.codehaus.plexus.util.io.URLInputStreamFacade.getInputStream(URLInputStreamFacade.java:77)
	at org.codehaus.plexus.util.FileUtils.copyStreamToFile(FileUtils.java:1024)
	at org.codehaus.plexus.util.FileUtils.copyURLToFile(FileUtils.java:985)
	at org.apache.maven.plugin.resources.remote.RemoteResourcesMojoTest.buildResourceBundle(RemoteResourcesMojoTest.java:277)
	at org.apache.maven.plugin.resources.remote.RemoteResourcesMojoTest.testVelocityUTF8(RemoteResourcesMojoTest.java:158)

testVelocityISO88591(org.apache.maven.plugin.resources.remote.RemoteResourcesMojoTest)  Time elapsed: 0.092 sec  <<< ERROR!
java.lang.NullPointerException
	at org.codehaus.plexus.util.io.URLInputStreamFacade.getInputStream(URLInputStreamFacade.java:77)
	at org.codehaus.plexus.util.FileUtils.copyStreamToFile(FileUtils.java:1024)
	at org.codehaus.plexus.util.FileUtils.copyURLToFile(FileUtils.java:985)
	at org.apache.maven.plugin.resources.remote.RemoteResourcesMojoTest.buildResourceBundle(RemoteResourcesMojoTest.java:277)
	at org.apache.maven.plugin.resources.remote.RemoteResourcesMojoTest.testVelocityISO88591(RemoteResourcesMojoTest.java:199)



> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2, 1.0-alpha-3, 1.0-alpha-4, 1.0-alpha-5, 1.0-alpha-6, 1.0-beta-2, 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2, MRRESOURCES-36-3.patch, MRRESOURCES-36-4.patch, MRRESOURCES-36-4.zip
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRRESOURCES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156222#action_156222 ] 

Christian Schulte commented on MRRESOURCES-36:
----------------------------------------------

Correct solution would be to make the sourceEncoding an attribute of the RemoteResourcesBundle model so that a bundle created with, for example, UTF-8 can be used in a project using a different encoding. See the second patched attached.

> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2, 1.0-alpha-3, 1.0-alpha-4, 1.0-alpha-5, 1.0-alpha-6, 1.0-beta-2, 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MRRESOURCES-36
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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: (MRRESOURCES-36) ${project.build.sourceEncoding} not honoured.

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

Jason van Zyl closed MRRESOURCES-36.
------------------------------------

    Resolution: Fixed

Patches applied. Thanks Christian.

> ${project.build.sourceEncoding} not honoured.
> ---------------------------------------------
>
>                 Key: MRRESOURCES-36
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-36
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0
>         Environment: Maven version: 2.0.9
> Java version: 1.6.0_07
> OS name: "linux" version: "2.6.27.6-workstation" arch: "i386" Family: "unix"
>            Reporter: Christian Schulte
>            Assignee: Jason van Zyl
>            Priority: Blocker
>         Attachments: MRRESOURCES-36, MRRESOURCES-36-2, MRRESOURCES-36-3.patch, MRRESOURCES-36-4.patch, MRRESOURCES-36-4.zip
>
>
> Velocity has its own default encoding (ISO-8859-1) when reading templates and does not honour the current environment setting. Also the plugin ignores any source encoding which leads to encoding issues for any non-ASCII resources. The attached patch adds a new mojo parameter sourceEncoding which defaults to ${project.build.sourceEncoding} and makes copying and appending to resources encoding aware.

-- 
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