Skip to content

mabrarov/java-try-with-resources

Repository files navigation

Java try-with-resources

License Travis CI build status AppVeyor CI build status Code coverage status

Tests and examples with Java try-with-resources statement

Building

Prerequisites

Build steps

  • Maven Wrapper can be used for building:

    ./mvnw clean package

    or on Windows:

    mvnw.cmd clean package

Coverage report

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