|
@@ -217,42 +217,37 @@
|
|
<build>
|
|
<build>
|
|
<!-- 设置构建的 jar 包名 -->
|
|
<!-- 设置构建的 jar 包名 -->
|
|
<finalName>${project.artifactId}</finalName>
|
|
<finalName>${project.artifactId}</finalName>
|
|
-
|
|
|
|
- <pluginManagement>
|
|
|
|
- <plugins>
|
|
|
|
- <!-- 提供给 mapstruct 使用 -->
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
- <version>${maven-compiler-plugin.version}</version>
|
|
|
|
- <configuration>
|
|
|
|
- <source>${java.version}</source> <!-- or higher, depending on your project -->
|
|
|
|
- <target>${java.version}</target> <!-- or higher, depending on your project -->
|
|
|
|
- <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>
|
|
|
|
- </annotationProcessorPaths>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
-
|
|
|
|
- <!-- 打包 -->
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
- <configuration>
|
|
|
|
- <fork>true</fork>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- </plugins>
|
|
|
|
- </pluginManagement>
|
|
|
|
|
|
+ <plugins>
|
|
|
|
+ <!-- 打包 -->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
+ <version>${spring.boot.version}</version>
|
|
|
|
+ </plugin>
|
|
|
|
+
|
|
|
|
+ <!-- 提供给 mapstruct 使用 -->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <version>${maven-compiler-plugin.version}</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <source>${java.version}</source> <!-- or higher, depending on your project -->
|
|
|
|
+ <target>${java.version}</target> <!-- or higher, depending on your project -->
|
|
|
|
+ <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>
|
|
|
|
+ </annotationProcessorPaths>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
</build>
|
|
</build>
|
|
|
|
|
|
</project>
|
|
</project>
|