Tests and examples with Java try-with-resources statement
Prerequisites
- JDK 1.7+
Build steps
-
Maven Wrapper can be used for building:
./mvnw clean package
or on Windows:
mvnw.cmd clean package
To build, run unit tests and generate JaCoCo report:
./mvnw clean package -P jacoco
or on Windows:
mvnw.cmd clean package -P jacoco
JaCoCo HTML report is generated at target/site/jacoco/index.html