#Maven Profiler
A time execution recorder for Maven which log time taken by each mojo in your build lifecycle.
##Installation
Use the new core extensions configuration mechanism by creating a ${maven.multiModuleProjectDirectory}/.mvn/extensions.xml
file with:
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>com.central1</groupId>
<artifactId>maven-profiler</artifactId>
<version>1.0</version>
</extension>
</extensions>
##Usage
Runs by default once extension in installed.
This also works when mvn
is executed on multiple threads (option -T
).
{
"name": "maven-profiler",
"time": "44681 ms",
"goals": "clean install",
"date": "2017/01/21 19:10:04",
"parameters": "{profile=true, profileFormat=JSON}",
"projects": [
{
"project": "maven-profiler",
"time": "43378 ms"
}
]
}