GH-572 - Fix APT setup after jMolecules upgrade.

We now explicitly declare a recent compiler plugin with the APTs of Lombok an jMolecules declared explicitly to make sure they run in the right order (Lombok first).
This commit is contained in:
Oliver Drotbohm
2024-04-29 09:24:55 +02:00
parent fcf49db0ab
commit a6e1a4b770

View File

@@ -66,4 +66,28 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<annotationProcessorPathsUseDepMgmt>true</annotationProcessorPathsUseDepMgmt>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</path>
<path>
<groupId>org.jmolecules.integrations</groupId>
<artifactId>jmolecules-apt</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</project>