Skip to content

Commit

Permalink
fix: mapstruct processor error
Browse files Browse the repository at this point in the history
  • Loading branch information
wangqi committed Dec 6, 2024
1 parent 4e69a43 commit b05ee50
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
8 changes: 4 additions & 4 deletions carp-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@

<spring.cloud.version>2023.0.1</spring.cloud.version>
<spring.boot.version>3.3.0</spring.boot.version>
<org.mapstruct.extensions.spring.version>0.1.1</org.mapstruct.extensions.spring.version>
<org.mapstruct.version>1.4.2.Final</org.mapstruct.version>
<mapstruct-extensions-spring.version>0.1.1</mapstruct-extensions-spring.version>
<mapstruct.version>1.4.2.Final</mapstruct.version>
<mapstruct.lombok.binding.version>0.2.0</mapstruct.lombok.binding.version>
<lombok.version>1.18.32</lombok.version>
<hutool.version>5.8.30</hutool.version>
Expand Down Expand Up @@ -201,12 +201,12 @@
<dependency>
<groupId>org.mapstruct.extensions.spring</groupId>
<artifactId>mapstruct-spring-annotations</artifactId>
<version>${org.mapstruct.extensions.spring.version}</version>
<version>${mapstruct-extensions-spring.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${org.mapstruct.version}</version>
<version>${mapstruct.version}</version>
</dependency>

<dependency>
Expand Down
29 changes: 29 additions & 0 deletions carp-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,33 @@
</dependency>
</dependencies>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${maven.compiler.encoding}</encoding>
<annotationProcessorPaths>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>${mapstruct.lombok.binding.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>

</project>

0 comments on commit b05ee50

Please sign in to comment.