From 6285bb96c5104a9eabd4e35131aec917b4f9e048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bengt=20S=C3=B6derberg?= <bengt.soderberg@purplescout.se> Date: Mon, 27 Nov 2017 19:19:48 +0100 Subject: [PATCH] [MNG-6298] 3.5.2: ClassNotFoundException: javax.annotation.security.RolesAllowed Adding exportedPackage to find class: javax.annotation.security.RolesAllowed First maven commit :) Works but might be deeper issue Signed-off-by: Karl Heinz Marbaise <khmarbaise@apache.org> Now with correct issue reference. --- maven-core/src/main/resources/META-INF/maven/extension.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/maven-core/src/main/resources/META-INF/maven/extension.xml b/maven-core/src/main/resources/META-INF/maven/extension.xml index c5f40b5340..6329aaa096 100644 --- a/maven-core/src/main/resources/META-INF/maven/extension.xml +++ b/maven-core/src/main/resources/META-INF/maven/extension.xml @@ -100,6 +100,7 @@ under the License. <!-- javax.annotation (JSR-250) --> <exportedPackage>javax.annotation.*</exportedPackage> + <exportedPackage>javax.annotation.security.*</exportedPackage> <!-- | We may potentially want to export these, but right now I'm not sure that anything Guice specific needs