Skip to content

Commit c048f91

Browse files
committed
GH-279 - Improve annotation processor setup.
Temporarily extract version numbers into properties until the compiler plugin considers the versions declared in dependency management [0]. [0] https://issues.apache.org/jira/browse/MCOMPILER-391
1 parent d87fcd4 commit c048f91

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
<artifactory-maven-plugin.version>3.5.1</artifactory-maven-plugin.version>
3838
<flapdoodle-mongodb.version>4.6.1</flapdoodle-mongodb.version>
3939
<jmolecules-bom.version>2023.1.0</jmolecules-bom.version>
40+
<lombok.version>1.18.28</lombok.version>
4041
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4142
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4243
<spring.version>6.0.11</spring.version> <!-- For Javadoc links only -->
@@ -492,7 +493,7 @@ limitations under the License.
492493
<path>
493494
<groupId>org.projectlombok</groupId>
494495
<artifactId>lombok</artifactId>
495-
<version>1.18.28</version>
496+
<version>${lombok.version}</version>
496497
</path>
497498
</annotationProcessorPaths>
498499
</configuration>

spring-modulith-examples/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
<properties>
2525
<java.version>17</java.version>
26+
<spring-boot.version>3.1.2</spring-boot.version>
2627
</properties>
2728

2829
<build>
@@ -38,12 +39,12 @@
3839
<path>
3940
<groupId>org.springframework.boot</groupId>
4041
<artifactId>spring-boot-configuration-processor</artifactId>
41-
<version>3.1.2</version>
42+
<version>${spring-boot.version}</version>
4243
</path>
4344
<path>
4445
<groupId>org.projectlombok</groupId>
4546
<artifactId>lombok</artifactId>
46-
<version>1.18.28</version>
47+
<version>${lombok.version}</version>
4748
</path>
4849
</annotationProcessorPaths>
4950
</configuration>

0 commit comments

Comments
 (0)