Skip to content

Commit

Permalink
GH-279 - Add annotation processors for compiler avoidance.
Browse files Browse the repository at this point in the history
  • Loading branch information
erichaagdev authored and odrotbohm committed Aug 24, 2023
1 parent ebb43ac commit d87fcd4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,18 @@ limitations under the License.
<source>17</source>
<target>17</target>
<parameters>true</parameters>
<annotationProcessorPaths>
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring-boot.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>

Expand Down
22 changes: 22 additions & 0 deletions spring-modulith-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,28 @@

<build>
<defaultGoal>verify</defaultGoal>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>3.1.2</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>

<dependencyManagement>
Expand Down

0 comments on commit d87fcd4

Please sign in to comment.