<?xml version="1.0" encoding="UTF-8"?>
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<parent>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-plat</artifactId>
|
<version>${revision}</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
<modules>
|
<module>iailab-module-infra-api</module>
|
<module>iailab-module-infra-biz</module>
|
</modules>
|
<artifactId>iailab-module-infra</artifactId>
|
<packaging>pom</packaging>
|
|
<name>${project.artifactId}</name>
|
<description>
|
infra 模块,主要提供两块能力:
|
1. 我们放基础设施的运维与管理,支撑上层的通用与核心业务。 例如说:定时任务的管理、服务器的信息等等
|
2. 研发工具,提升研发效率与质量。 例如说:代码生成器、接口文档等等
|
</description>
|
|
<build>
|
<pluginManagement>
|
<plugins>
|
<!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
|
<!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
<version>${maven-surefire-plugin.version}</version>
|
<configuration>
|
<skip>true</skip>
|
</configuration>
|
</plugin>
|
<!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 -->
|
<!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<version>${maven-compiler-plugin.version}</version>
|
<configuration>
|
<annotationProcessorPaths>
|
<path>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<version>${spring.boot.version}</version>
|
</path>
|
<path>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<version>${lombok.version}</version>
|
</path>
|
<path>
|
<groupId>org.mapstruct</groupId>
|
<artifactId>mapstruct-processor</artifactId>
|
<version>${mapstruct.version}</version>
|
</path>
|
</annotationProcessorPaths>
|
</configuration>
|
</plugin>
|
</plugins>
|
</pluginManagement>
|
</build>
|
|
|
</project>
|