Peter,
I have a fix that should work for you. You need to do the following:
1) Pull down the maven-scala-plugin source (
git clone git://github.com/davidB/maven-scala-plugin.git )
2) Run [mvn install] on the maven-scala-plugin.
3) Add a <fork>false</fork> element in the maven-scala-plugin configuration section.
4) You may need to increase the memory given to the maven process. I believe the command is something like [
set MAVEN_OPTS="-Xmx512M"]
5) You may also need to specify 2.10-SNAPSHOT as the version of your maven-scala-plugin, but you should not have to.
I was able to duplicate the error you saw by attempting to build 514 source files. Using the above fixes, I had no issues compiling on Windows XP. If you need me to up the number of source files I test trying to compile, I can. I'd like to make sure it's high enough that we ensure there are no issues, but low enough that development of the plugin doesn't bog down.
davidB -
Would you mind making a release of the plugin as soon as you have the time? I'm going to attempt to release a snapshot version so others can at least use this fix if needed.
Thanks,
-Josh