fine-fpk模块
- fpk管理工具类
依赖
- pom.xml
xml
<!--fine-fpk-->
<dependency>
<groupId>cn.finemap</groupId>
<artifactId>fine-fpk</artifactId>
<version>${fine.version}</version>
</dependency>创建子模块:fine-fpk
- 在fine-parent中创建:fine-fpk子模块
fine-fpk
- 创建子模块:New > Module...
- 添加公共组件的依赖
- 维护工具类
依赖
- fine-fpk/pom.xml
xml
<!-- 依赖 -->
<dependencies>
<!-- Nacos -->
<dependency>
<groupId>com.alibaba.nacos</groupId>
<artifactId>nacos-client</artifactId>
<version>${nacos.client.version}</version>
<optional>true</optional>
</dependency>
<!-- snakeyaml -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>
<!-- web -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<optional>true</optional>
</dependency>
<!-- 框架工具类 -->
<dependency>
<groupId>cn.finemap</groupId>
<artifactId>fine-commons</artifactId>
<version>${fine.version}</version>
<optional>true</optional>
</dependency>
<!-- 接口文档 -->
<dependency>
<groupId>cn.finemap</groupId>
<artifactId>fine-doc</artifactId>
<version>${fine.version}</version>
<optional>true</optional>
</dependency>
<!--文本编码-->
<dependency>
<groupId>com.googlecode.juniversalchardet</groupId>
<artifactId>juniversalchardet</artifactId>
<version>${juniversalchardet.version}</version>
</dependency>
</dependencies>维护父工程:fine-parent
fine-parent
- 添加该子模块
- 在父工程中,管理版本参数
pom
- fine-parent/pom.xml
xml
<!-- 版本参数 -->
<properties>
<!-- fine-fpk -->
<snakeyaml.version>1.33</snakeyaml.version>
<juniversalchardet.version>1.0.3</juniversalchardet.version>
</properties>