The same problem reported in
affects Maven, too.
In the Maven build, it is easily possible to disable forking (<configuration><fork>false</fork></configuration>) to prevent this problem. This, however causes the perm-gen-space memory consumption to increase significantly - especially when building a huge multi-project project. It is then necessary to either increase the perm-gen-space or to enable garbage-collection of the perm-gen-space (or both).
We should use the same new mechanism (=> "-lfl <fileListFile>" argument) that we introduced for the Eclipse plug-in here in the Maven plug-in.
This should - of course - be configurable. If (easily) possible, the new setting should be true on Windows and false on other systems.