<?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">
|
<modelVersion>4.0.0</modelVersion>
|
<parent>
|
<artifactId>iailab-plat</artifactId>
|
<groupId>com.iailab</groupId>
|
<version>${revision}</version>
|
</parent>
|
<packaging>pom</packaging>
|
<modules>
|
<module>iailab-common</module>
|
<module>iailab-common-env</module>
|
<module>iailab-common-mybatis</module>
|
<module>iailab-common-redis</module>
|
<module>iailab-common-web</module>
|
<module>iailab-common-security</module>
|
<module>iailab-common-websocket</module>
|
|
<module>iailab-common-monitor</module>
|
<module>iailab-common-protection</module>
|
<module>iailab-common-job</module>
|
<module>iailab-common-mq</module>
|
<module>iailab-common-rpc</module>
|
|
<module>iailab-common-excel</module>
|
<module>iailab-common-test</module>
|
|
<module>iailab-common-biz-tenant</module>
|
<module>iailab-common-biz-data-permission</module>
|
<module>iailab-common-biz-ip</module>
|
</modules>
|
|
<artifactId>iailab-framework</artifactId>
|
<description>
|
该包是技术组件,每个子包,代表一个组件。每个组件包括两部分:
|
1. core 包:是该组件的核心封装
|
2. config 包:是该组件基于 Spring 的配置
|
|
技术组件,也分成两类:
|
1. 框架组件:和我们熟悉的 MyBatis、Redis 等等的拓展
|
2. 业务组件:和业务相关的组件的封装,例如说数据字典、操作日志等等。
|
如果是业务组件,Maven 名字会包含 biz
|
</description>
|
<url>http://172.16.8.100:8888/summary/iailab-plat.git</url>
|
|
<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>
|
</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>
|
|
<plugins>
|
<!-- 统一 revision 版本 -->
|
<plugin>
|
<groupId>org.codehaus.mojo</groupId>
|
<artifactId>flatten-maven-plugin</artifactId>
|
<version>${flatten-maven-plugin.version}</version>
|
<configuration>
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
<updatePomFile>true</updatePomFile>
|
</configuration>
|
<executions>
|
<execution>
|
<goals>
|
<goal>flatten</goal>
|
</goals>
|
<id>flatten</id>
|
<phase>process-resources</phase>
|
</execution>
|
<execution>
|
<goals>
|
<goal>clean</goal>
|
</goals>
|
<id>flatten.clean</id>
|
<phase>clean</phase>
|
</execution>
|
</executions>
|
</plugin>
|
|
</plugins>
|
</build>
|
|
</project>
|