Set sourceEncoding to UTF-8 in pom.xml.