From 7630edb1f816b2a4ac5fa02635ef6251d13d91f3 Mon Sep 17 00:00:00 2001 From: Greg Hulands Date: Sun, 8 May 2022 14:52:22 -0700 Subject: [PATCH] Change scope to class so Jacoco can exclude JAXB generated classes from reports. --- api/src/main/java/jakarta/annotation/Generated.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/jakarta/annotation/Generated.java b/api/src/main/java/jakarta/annotation/Generated.java index 8ccd0de..9058b4f 100644 --- a/api/src/main/java/jakarta/annotation/Generated.java +++ b/api/src/main/java/jakarta/annotation/Generated.java @@ -42,7 +42,7 @@ */ @Documented -@Retention(SOURCE) +@Retention(CLASS) @Target({PACKAGE, TYPE, ANNOTATION_TYPE, METHOD, CONSTRUCTOR, FIELD, LOCAL_VARIABLE, PARAMETER}) public @interface Generated {