i am converting a project from Ant to Maven and i\'m having problems with a specific unit test which deals with UTF-8 characters. The problem is about the following String:<
I have found a "solution" myself:
I had to pass the encoding into the maven-surefire-plugin, but the usual
${project.build.sourceEncoding}
did not work. I still have no idea why, but when i pass the command line arguments into the plugin, the tests works as they should:
org.apache.maven.plugins
maven-surefire-plugin
2.15
-Dfile.encoding=UTF-8
Thanks for all your responses and additional comments!