https://github.com/marschall/jfr-maven-extension
a Maven extension generates JFR events for a Maven build
https://github.com/marschall/jfr-maven-extension
java-flight-recorder maven
Last synced: 3 months ago
JSON representation
a Maven extension generates JFR events for a Maven build
- Host: GitHub
- URL: https://github.com/marschall/jfr-maven-extension
- Owner: marschall
- Created: 2019-04-07T16:34:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-01T21:29:06.000Z (3 months ago)
- Last Synced: 2025-03-01T22:24:13.056Z (3 months ago)
- Topics: java-flight-recorder, maven
- Language: Java
- Size: 254 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
JFR Maven Extension [](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/jfr-maven-extension)
===================This Maven extension generates JFR events for a Maven build.
Usage
-----```xml
com.github.marschall
jfr-maven-extension
0.1.1
```
To create a recording you need the following or similar options
```
export MAVEN_OPTS="-XX:StartFlightRecording:filename=recording.jfr -XX:FlightRecorderOptions:stackdepth=256"
```If you want to have the unit test execution in the same recording you need to set
```xml
0
```in the configuration of the `maven-surefire-plugin`
Screenshot
----------
![]()