Hi, Yeah, that helps a bit, although it's still quite a lot. One day I'd like to take a closer look at some of the plugins we have on the build to see if there's some easy speed up we could do.
As for the Github, I think we depend on 2 things: 1. I believe we need a Github action that contains and runs maven daemon 2. I believe this action needs to be approved somehow by the ASF. I am not sure about this, though ... maybe others in the community know more about it. Kind regards On Tue, Feb 8, 2022 at 6:48 PM Nicolas Filotto <nfilo...@talend.com> wrote: > Hi > > That's a very nice tool thanks for sharing! It is indeed even faster, it > takes "only" 21 minutes on my machine which is much better. > > As it is significantly faster and generally reliable, any reason why it is > not used in the build pipeline? At least to validate the PRs when the tests > are skipped > > Regards, > Nicolas > > ________________________________ > From: Otavio Rodolfo Piske <angusyo...@gmail.com> > Sent: Tuesday, February 8, 2022 17:34 > To: dev@camel.apache.org <dev@camel.apache.org> > Subject: Re: Parallel Build in Camel > > !-------------------------------------------------------------------| > This Message Is From an External Sender > This message came from outside your organization. > Exercise caution when opening attachments or clicking any > links. > |-------------------------------------------------------------------! > > Hello, > > I have been using parallel builds with Camel and all it's sub-projects > regularly. On some (rare) occasions I find a problem or two, but it's > usually solved with rebuilding or running a non-parallel build. > > In my case, I build using Maven Daemon [1] and it has proven to be very > stable in terms of reliability. A cached build of Camel takes about 1 > minute on my Desktop (Ryzen 9 3900XT 12 cores / 24 threads, 32Gb RAM). I > don't have the precise numbers, but a clean build with Maven Daemon takes > about 9 minutes. On my MBP with a similar configuration to yours, a cached > build is around 3-4 minutes and a non-cached is between 14 to 18 minutes. > Not great, but not terrible either. > > 1. > https://urldefense.com/v3/__https://github.com/apache/maven-mvnd__;!!CiXD_PY!HVOrEMl7_mFR4dV-jkTqvqa6h1P9X-qJRX7MyRs6WeOMqhjt6g6J-jfihrMwRpE$ > > Kind regards > > On Tue, Feb 8, 2022 at 5:27 PM Nicolas Filotto <nfilo...@talend.com> > wrote: > > > Hi Cameleers, > > > > I was wondering if it was safe to use the parallel build of maven at > least > > to compile camel faster. Are you aware of any issues with it? > > > > I'm asking that because on my local machine (MBP 2,6 GHz Intel Core i7 > > with 6 cores), launching: > > > > * mvn clean install -Pfastinstall -Psourcecheck - takes about 50 > > minutes > > * mvn -T 1C clean install -Pfastinstall -Psourcecheck - takes about > 30 > > minutes > > > > So, it is not revolutionary, but it can still be helpful if it is > > reliable/safe enough. > > > > Thanks in advance for your answers, > > Nicolas > > > > As a recipient of an email from Talend, your contact personal data will > be > > on our systems. Please see our privacy notice (updated August 2020) at > > Talend, Inc. <https://www.talend.com/contacts-privacy-policy/> > > > > > > > > -- > Otavio R. Piske > > https://urldefense.com/v3/__http://orpiske.net__;!!CiXD_PY!HVOrEMl7_mFR4dV-jkTqvqa6h1P9X-qJRX7MyRs6WeOMqhjt6g6J-jfiKrdfAgY$ > > As a recipient of an email from Talend, your contact personal data will be > on our systems. Please see our privacy notice (updated August 2020) at > Talend, Inc. <https://www.talend.com/contacts-privacy-policy/> > > > -- Otavio R. Piske http://orpiske.net