Re: Support JUnit 5 for Camel CDI

2022-02-10 Thread Claus Ibsen
Hi Yes it is good to be able to deprecate and get rid of the last junit 4.x based test module. On Thu, Feb 10, 2022 at 8:04 PM Nicolas Filotto wrote: > > Hi, > > I've just created a ticket https://issues.apache.org/jira/browse/CAMEL-17633 > and proposed a PR https://github.com/apache/camel/pull

Re: Support JUnit 5 for Camel CDI

2022-02-10 Thread Jean-Baptiste Onofré
Hi Nicolas Thanks for sharing. It looks good and pretty similar to the other extensions we have. I will take a deeper look at the PR asap. Regards JB On Thu, Feb 10, 2022 at 8:03 PM Nicolas Filotto wrote: > > Hi, > > I've just created a ticket https://issues.apache.org/jira/browse/CAMEL-17633

Support JUnit 5 for Camel CDI

2022-02-10 Thread Nicolas Filotto
Hi, I've just created a ticket https://issues.apache.org/jira/browse/CAMEL-17633 and proposed a PR https://github.com/apache/camel/pull/6929, to add the support of Junit 5 for Camel CDI. I reused part of the code for JUnit 4, the main difference is about the way to advice a route. So far, wha

Re: Parallel Build in Camel

2022-02-10 Thread Nicolas Filotto
Hi Guillaume, That's awsome, no I didn't know that option, thanks for sharing, it will definitively help. Actually even the maven daemon as it is now (wondeful job by the way) could help. Indeed, on my machine even with 2 threads, the command "mvnd clean install -Pfastinstall -Psourcecheck -T

Re: Parallel Build in Camel

2022-02-10 Thread Guillaume Nodet
Le jeu. 10 févr. 2022 à 12:33, Otavio Rodolfo Piske a écrit : > This sounds great! Looking forward to trying it out. > I'll try to set up something in the coming days. > > Thanks for the tip about the " -Dmvnd.buildTime"! > > Looking at the build time report from maven daemon: do I understand

Re: Parallel Build in Camel

2022-02-10 Thread Otavio Rodolfo Piske
This sounds great! Looking forward to trying it out. Thanks for the tip about the " -Dmvnd.buildTime"! Looking at the build time report from maven daemon: do I understand correctly that the last part of the report is the totals for each plugin? Looking at what we have, it seems camel-package-ma

Re: Parallel Build in Camel

2022-02-10 Thread Guillaume Nodet
Fwiw, i did a lot of work on the build a while ago, but my main goal was to optimize subsequent `mvnd -DskipTests` run. Ideall, in such cases, no jars should be changed at all, but that's not the case completely, especially for maven plugins (try running `ls -ltr **/*.jar` after a build). There ar

Re: Parallel Build in Camel

2022-02-10 Thread Otavio Rodolfo Piske
Thanks for looking into this. On a related note, I think one area where we could investigate potential improvements to the compilation is by looking at the performance of our maven plugins and code generators. For example the camel-endpointdsl module takes a long time to generate sources and buil