What steps will reproduce the problem?
1. checkout from svn
2. on a computer with an encoding that is not windows-1251, run mvn test
What is the expected output? What do you see instead?
Expecting BUILD SUCCESSFUL
Seeing BUILD FAILURE instead because of
Failed tests:
testConvert(com.textmagic.sms.core.parsing.RawResponseTextConverterTest)
What version of the product are you using? On what operating system?
Issue observed on Ubuntu Linux 10.04 32 bits and Ubuntu Linux 10.10 34 bits,
both with en_GB.UTF8 system locale.
Please provide any additional information below.
Cause of the failure is that testConvert test use non ascii characters, and
that the pom doesn't define project.build.sourceEncoding property; the build is
thus platform dependent, and will fail if platform encoding is not windows-1251.
Simple fix is to add
<properties>
<project.build.sourceEncoding>windows-1251</project.build.sourceEncoding>
</properties>
to the pom.
Original issue reported on code.google.com by
sebastie...@gmail.comon 17 Mar 2011 at 3:55