What are the slow plugins you're talking about?
The main issue was the asciidoctor plugin, which is very slow when it generates the PDF. I ended up disabling PDF generation. Note that I need to use the -Pdist profile because if I don't, some dependencies are not downloaded during the first maven execution and I end up with too much stuff in the logs. But there are other issues that I couldn't solve. Currently this first maven execution takes about 3min 20s on Travis even if there is nothing to download... Most of the execution time is caused by the compiling and building artifacts even though we don't need to, since we just want to download dependencies. I tried to disable some plugins selectively, but the inter-plugin runtime dependencies (one plugin expecting another to have generated some files) are too complex. And I've already tried to use the maven-dependency-plugin some time ago, it doesn't work either. So. I'll solve the asciidoctor problem as part of this ticket, but I will gave up on these remaining extra 200 seconds. |