<?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>