I have problems with command  lines growing too big when running "mvn site" on 
Windows.
I have several reports I want generated, specifically checkstyle, pmd, javadoc, 
surefire, jxr, changelog and taglist.
There is native code being compiled, and some of these reporting plugins feel 
the need to link obj-files. Maven runs "link.exe" with quite a few files. The 
problem is that this command is executed repeatedly, and the same obj-files are 
added to the list of files being linked. Eventually build fails with "The input 
line is too long" due to limitations in cmd.exe.

Is it possible to avoid linking for each plugin? It doesn't need to run more 
than once. It also makes site generation take a very long time.
If not, is it possible to somehow clear the path so that these obj-files don't 
get added again and again?

(I am running Maven 2.2.1 on Windows XP)

Reply via email to