From 9c98f1b4289d355b86e443ef07e31eb05c611bdd Mon Sep 17 00:00:00 2001 From: Maciej Kucharczyk Date: Wed, 13 Nov 2024 19:51:21 +0100 Subject: [PATCH] Add annotationProcessorPaths to pom.xml code snippet --- README.md | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b8a88f56..d8750a66 100644 --- a/README.md +++ b/README.md @@ -327,15 +327,35 @@ annotation. Use `packagePattern` to change this (see Javadoc for details). ### Maven -Add a dependency that contains the discoverable annotation processor: +Add the `record-builder-core` dependency and specify the annotation processor in the Maven Compiler Plugin: ```xml - - io.soabase.record-builder - record-builder-processor - ${record.builder.version} - provided - + + + io.soabase.record-builder + record-builder-core + ${record.builder.version} + provided + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.soabase.record-builder + record-builder-processor + ${record.builder.version} + + + + + + ``` ### Gradle