Commit 4f2a999abb8f9ec127e4ff0dce551522e851f980
1 parent
5dea2b88
修改项目的打包脚本
Showing
1 changed file
with
7 additions
and
0 deletions
pom.xml
| ... | ... | @@ -223,6 +223,13 @@ |
| 223 | 223 | <groupId>org.springframework.boot</groupId> |
| 224 | 224 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 225 | 225 | <version>${spring.boot.version}</version> |
| 226 | + <executions> | |
| 227 | + <execution> | |
| 228 | + <goals> | |
| 229 | + <goal>repackage</goal> <!-- 将原来的 jar 打入其中 --> | |
| 230 | + </goals> | |
| 231 | + </execution> | |
| 232 | + </executions> | |
| 226 | 233 | </plugin> |
| 227 | 234 | |
| 228 | 235 | <!-- 提供给 mapstruct 使用 --> | ... | ... |