Commit e677440797f6d5a34dffc4396f6dd5567bf3f2fc
Committed by
Gitee
!373 配置yaml文件中自定义属性的提示
Merge pull request !373 from 与或非/issues/I3RJFD
Showing
1 changed file
with
9 additions
and
2 deletions
pom.xml
| ... | ... | @@ -35,9 +35,10 @@ |
| 35 | 35 | <maven.compiler.source>${java.version}</maven.compiler.source> |
| 36 | 36 | <maven.compiler.target>${java.version}</maven.compiler.target> |
| 37 | 37 | <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> |
| 38 | - <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version> | |
| 38 | + <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> | |
| 39 | 39 | <!-- 看看咋放到 bom 里 --> |
| 40 | 40 | <lombok.version>1.18.24</lombok.version> |
| 41 | + <spring.boot.version>2.7.7</spring.boot.version> | |
| 41 | 42 | <mapstruct.version>1.5.3.Final</mapstruct.version> |
| 42 | 43 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 43 | 44 | </properties> |
| ... | ... | @@ -64,7 +65,8 @@ |
| 64 | 65 | <artifactId>maven-surefire-plugin</artifactId> |
| 65 | 66 | <version>${maven-surefire-plugin.version}</version> |
| 66 | 67 | </plugin> |
| 67 | - <!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 --> | |
| 68 | + <!-- maven-compiler-plugin 插件,解决 spring-boot-configuration-processor + Lombok + MapStruct 组合 --> | |
| 69 | + <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada --> | |
| 68 | 70 | <plugin> |
| 69 | 71 | <groupId>org.apache.maven.plugins</groupId> |
| 70 | 72 | <artifactId>maven-compiler-plugin</artifactId> |
| ... | ... | @@ -72,6 +74,11 @@ |
| 72 | 74 | <configuration> |
| 73 | 75 | <annotationProcessorPaths> |
| 74 | 76 | <path> |
| 77 | + <groupId>org.springframework.boot</groupId> | |
| 78 | + <artifactId>spring-boot-configuration-processor</artifactId> | |
| 79 | + <version>${spring.boot.version}</version> | |
| 80 | + </path> | |
| 81 | + <path> | |
| 75 | 82 | <groupId>org.projectlombok</groupId> |
| 76 | 83 | <artifactId>lombok</artifactId> |
| 77 | 84 | <version>${lombok.version}</version> | ... | ... |