Re: Maven slow

2023-04-10 Thread Tommy Svensson
Good point! Most of the builds are just verifications. BR Tommy På 10 april 2023 till 16:32:50, Karl Heinz Marbaise (khmarba...@gmx.de(mailto:khmarba...@gmx.de)) skrev: > Hi, > > That sounds very good.. > > Tip: Do not use "install" use "verify" instead... > > > Kind regards > Karl

Re: Maven slow

2023-04-10 Thread Karl Heinz Marbaise
Hi, That sounds very good.. Tip: Do not use "install" use "verify" instead... Kind regards Karl Heinz Marbaise On 10.04.23 10:50, Tommy Svensson wrote: Hello maven users, I provided an update on this yesterday, but I'm not sure it was sent. My Mac was in a really bad state. The problem is

Re: Maven slow

2023-04-10 Thread Karl Heinz Marbaise
Hi, On 06.04.23 17:15, Tommy Svensson wrote: Hello maven users, I have an observation that does not make sense to me: I have a multi module build of about 5 modules. I do an "mvn clean install" and it takes 43 seconds. I then do an "mvn install" and it takes 43 seconds ! The second time

Re: Maven slow

2023-04-10 Thread Tommy Svensson
Hello maven users, I provided an update on this yesterday, but I'm not sure it was sent. My Mac was in a really bad state. The problem is solved, and maven is and was 100% innocent here! :-). There were a new macos update that I missed that solved the general slugishness of my machine.

Re: Maven slow

2023-04-09 Thread Tommy Svensson
Tommy Svensson to...@natusoft.se wrote: I'm running Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) That is what the latest version of IDEA gives me. If you add Maven Wrapper [0] to your project, you can use any version of Maven you like, including the latest 3.9.1 release.

Re: Maven slow

2023-04-07 Thread Nils Breunese
Tommy Svensson wrote: > I'm running Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) > That is what the latest version of IDEA gives me. If you add Maven Wrapper [0] to your project, you can use any version of Maven you like, including the latest 3.9.1 release. Nils. [0]

Re: Maven slow

2023-04-06 Thread John Patrick
Hi Tommy, Maybe look at setting up https://github.com/khmarbaise/maven-buildtime-profiler to see if you can see where the time is being spent or not being spent. On Thu, 6 Apr 2023 at 16:29, François Guillot wrote: > Hi > > Disclaimer: I'm a engineer @ Gradle > > You can also try the Gradle

Re: Maven slow

2023-04-06 Thread François Guillot
Hi Disclaimer: I'm a engineer @ Gradle You can also try the Gradle Enterprise Maven extension ( https://docs.gradle.com/enterprise/maven-extension/) Or the new Maven Cache extension https://maven.apache.org/extensions/maven-build-cache-extension/ to benefit from build caching for some goal

Re: Maven slow

2023-04-06 Thread Mantas Gridinas
Well maven still has to go through all the lifecycle, which involves generating resources, compiling, packaging, running tests, checking snapshots, etc. So depending on your plugin, repository configuration you could get faster/slower subsequent builds. Unlike gradle, maven doesn't cache steps so

Maven slow

2023-04-06 Thread Tommy Svensson
Hello maven users, I have an observation that does not make sense to me: I have a multi module build of about 5 modules. I do an "mvn clean install" and it takes 43 seconds. I then do an "mvn install" and it takes 43 seconds ! The second time everything was already built, so no compilation at