From ba16116ccf78578cebeeead503aa6064afc8193d Mon Sep 17 00:00:00 2001 From: Heemin Kim Date: Wed, 26 Apr 2023 14:43:24 -0700 Subject: [PATCH] Exclude lombok generated code from jacoco coverage report (#268) Signed-off-by: Heemin Kim --- CHANGELOG.md | 1 + lombok.config | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 lombok.config diff --git a/CHANGELOG.md b/CHANGELOG.md index 27dacfa9..421c7a65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Enhancements ### Bug Fixes ### Infrastructure +* Exclude lombok generated code from jacoco coverage report ([#268](https://github.com/opensearch-project/geospatial/pull/268)) ### Documentation ### Maintenance ### Refactoring diff --git a/lombok.config b/lombok.config new file mode 100644 index 00000000..9745d1ed --- /dev/null +++ b/lombok.config @@ -0,0 +1,5 @@ +# tell lombok this is your root directory +config.stopBubbling = true +# add @lombok.Generated annotations to all generated nodes where possible +# to skip code coverage for auto generated code +lombok.addLombokGeneratedAnnotation = true