Skip to content

Commit

Permalink
GH-279 - Improve annotation processor setup.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
odrotbohm committed Aug 24, 2023
1 parent d87fcd4 commit c048f91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<artifactory-maven-plugin.version>3.5.1</artifactory-maven-plugin.version>
<flapdoodle-mongodb.version>4.6.1</flapdoodle-mongodb.version>
<jmolecules-bom.version>2023.1.0</jmolecules-bom.version>
<lombok.version>1.18.28</lombok.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring.version>6.0.11</spring.version> <!-- For Javadoc links only -->
Expand Down Expand Up @@ -492,7 +493,7 @@ limitations under the License.
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down
5 changes: 3 additions & 2 deletions spring-modulith-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

<properties>
<java.version>17</java.version>
<spring-boot.version>3.1.2</spring-boot.version>
</properties>

<build>
Expand All @@ -38,12 +39,12 @@
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>3.1.2</version>
<version>${spring-boot.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down

0 comments on commit c048f91

Please sign in to comment.