Profiling built on maven 3?

I ask this question for maven 3:

Profiling Maven

I want to know how much time is spent on each mojo / phase / project.

There is http://jira.codehaus.org/browse/MNG-3547 and http://jira.codehaus.org/browse/MNG-4639 but I do not know about their status.

I applied MNG-3547 to apache-maven-2.2.1 and it works fine. I collect profiling data that is emitted, analyze and analyze it (using scala).

Now we are moving to maven 3.

Are there any newer / more efficient approaches to the maven3 build profile, or should I port the patch?

Thanks in advance, Bastle.

+4
source share
1 answer

Now I don’t know if this is a direct answer based only on Maven, but I know that Sonatype Maven 3’s work on the Hudson plugin includes profiling information for the assembly. If you use the Maven 3 integration for Hudson, you can see how much time your Maven builds spend on each target.

0
source

Source: https://habr.com/ru/post/1411296/


All Articles