Hi Andreas,
UPDATE: as of tonight I fail now building the WYSIWYG
component
(Mac
OS X 10.5.7, JDK 1.6, Maven 2.0.10):
I also get this error sometimes, but only
when building it from
inside
the trunks folder, and only with Maven 2.1.0. Try building directly
from
the web/wysiwyg folder.
Building the web/wysiwyg alone works but then I have to build the
rest
of XWiki module by module.
Why are you trying to build the WYSIWYG? It is time consuming (no less
than 3 minutes on a powerful machine) and Hudson (
http://hudson.xwiki.org ) does this for you. Don't build everything
unless you really need to, which I doubt. Build only the module you
change and the modules that use it. In some cases you can even skip
re-building the modules that use it by dropping the jar in the right
place, like WEB-INF/lib. For instance, if you do a small change in
xwiki-core then you can just copy the xwiki-core-2.0-SNAPSHOT.jar from
the target directory to WEB-INF/lib (taking care to remove the exiting
jar) and restart you web server.