From b90c0a9f07f23c8931d82d2beb7418b4e055ed08 Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Sat, 24 Oct 2020 17:46:20 +0200 Subject: [PATCH] #2244 Mark mapstruct-processor jar as Spring-Boot-Jar-Type: annotation-processor Doing this would make sure that starting from Spring Boot 2.4 the mapstruct-processor will not be included in the fat jar produced by the Spring Boot maven plugin if people have it as a maven provided dependency. This is an alternative if people are not using the maven-compiler-plugin annotationProcessorPaths --- processor/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/processor/pom.xml b/processor/pom.xml index bbec83bf2..2ff5d2d18 100644 --- a/processor/pom.xml +++ b/processor/pom.xml @@ -123,6 +123,7 @@ org.mapstruct.processor + annotation-processor