File tree Expand file tree Collapse file tree 1 file changed +27
-7
lines changed Expand file tree Collapse file tree 1 file changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -327,15 +327,35 @@ annotation. Use `packagePattern` to change this (see Javadoc for details).
327
327
328
328
### Maven
329
329
330
- Add a dependency that contains the discoverable annotation processor:
330
+ Add the ` record-builder-core ` dependency and specify the annotation processor in the Maven Compiler Plugin :
331
331
332
332
``` xml
333
- <dependency >
334
- <groupId >io.soabase.record-builder</groupId >
335
- <artifactId >record-builder-processor</artifactId >
336
- <version >${record.builder.version}</version >
337
- <scope >provided</scope >
338
- </dependency >
333
+ <dependencies >
334
+ <dependency >
335
+ <groupId >io.soabase.record-builder</groupId >
336
+ <artifactId >record-builder-core</artifactId >
337
+ <version >${record.builder.version}</version >
338
+ <scope >provided</scope >
339
+ </dependency >
340
+ </dependencies >
341
+
342
+ <build >
343
+ <plugins >
344
+ <plugin >
345
+ <groupId >org.apache.maven.plugins</groupId >
346
+ <artifactId >maven-compiler-plugin</artifactId >
347
+ <configuration >
348
+ <annotationProcessorPaths >
349
+ <path >
350
+ <groupId >io.soabase.record-builder</groupId >
351
+ <artifactId >record-builder-processor</artifactId >
352
+ <version >${record.builder.version}</version >
353
+ </path >
354
+ </annotationProcessorPaths >
355
+ </configuration >
356
+ </plugin >
357
+ </plugins >
358
+ </build >
339
359
```
340
360
341
361
### Gradle
You can’t perform that action at this time.
0 commit comments