[jira] (SUREFIRE-1052) Use "project.build.sourceEncoding"-Property by default for forked jvm

2014-12-11 Thread Tibor Digana (JIRA)

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

Tibor Digana closed SUREFIRE-1052.
--

Resolution: Won't Fix

Using this configuration is fine on Oracle VM, I tried!
-Dfile.encoding=${project.build.sourceEncoding}

We don't need to handle the "sourceEncoding".
We are handling ${project.reporting.outputEncoding} only for Xml reporting but 
that's different.

> Use "project.build.sourceEncoding"-Property by default for forked jvm
> -
>
> Key: SUREFIRE-1052
> URL: https://jira.codehaus.org/browse/SUREFIRE-1052
> Project: Maven Surefire
>  Issue Type: Bug
>  Components: classloading, Maven Surefire Plugin, process forking
>Affects Versions: 2.10, 2.16
>Reporter: Dieter König
> Attachments: pom.xml, SurefireEncodingTestCase.java
>
>
> maven-surefire-plugin is ignoring "project.build.sourceEncoding"-property 
> when forking jvm for testcase execution.
> The attached testcase fails with surefire for a project configured as UTF-8 
> but is successful when executed in eclipse.
> Known Workaround:
> Configure surefire in the following way 
> -Dfile.encoding=${project.build.sourceEncoding}
> P.S.: Unfortunately the oracle jvm itself is also unsafe. Executing the 
> testcase with java.exe (without file.encoding-argument) gives AssertionError, 
> executing with javaw.exe (without file.encoding-argument) is successful.



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


[jira] (SUREFIRE-1052) Use "project.build.sourceEncoding"-Property by default for forked jvm

2014-01-09 Thread JIRA
Dieter König created SUREFIRE-1052:
--

 Summary: Use "project.build.sourceEncoding"-Property by default 
for forked jvm
 Key: SUREFIRE-1052
 URL: https://jira.codehaus.org/browse/SUREFIRE-1052
 Project: Maven Surefire
  Issue Type: Bug
  Components: classloading, Maven Surefire Plugin, process forking
Affects Versions: 2.16, 2.10
Reporter: Dieter König
 Attachments: pom.xml, SurefireEncodingTestCase.java

maven-surefire-plugin is ignoring "project.build.sourceEncoding"-property when 
forking jvm for testcase execution.

The attached testcase fails with surefire for a project configured as UTF-8 but 
is successful when executed in eclipse.

Known Workaround:
Configure surefire in the following way 
-Dfile.encoding=${project.build.sourceEncoding}

P.S.: Unfortunately the oracle jvm itself is also unsafe. Executing the 
testcase with java.exe (without file.encoding-argument) gives AssertionError, 
executing with javaw.exe (without file.encoding-argument) is successful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira