<project.build.sourceEncoding>iso-8859-1</project.build.sourceEncoding>
which allows the project to compile correctly.
When I integrate the scala-maven-plugin, it stops using the maven compiler for Java and uses the zinc compiler to compile the existing java files (I've not even added a scala file yet), and I get errors like this:
[ERROR] error: IO error while decoding /Users/tonykay/swimoffice-scala/MainLib/src/main/java/Util/XmlUtil.java with UTF-8
[INFO] Please try specifying another one using the -encoding option
The usage docs for the plugin say that the default for the "encoding" is whatever is in the project.build.sourceEncoding, but notes that is for incremental mode (which I'm not using).
So, either this is a bug, or I'm not seeing where I can configure this. I tried adding an <encoding>iso-8851-1</encoding> to the <configuration> of the scala-maven-plugin, but that didn't seem to work (not sure I did it right).
Anyone have ideas?
Tony
--
---
You received this message because you are subscribed to the Google Groups "Maven and Scala" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-and-sca...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.