coin-ex 三// common模块-爱代码爱编程
1.Common 并不会使用 spring-boot-maven-plugin 打包插件来打包
2.使用 Maven 自带的打包方式,把类编译后生成的 class 文件打包在 jar 里面,不会打包类包含的第三方依赖,这就保证了 common 的轻量级
<packaging>jar</packaging>
3.第三方依赖
3.1在父工程pom
// 添加版本号
<properties>
<hutool.version>5.1.1</hutool.version>
</properties>
// 依赖管理添加
<dependencyManagement>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
</dependencyManagement>
3.2 在子模块里引入
<!-- hutool工具类-->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</dependency>
3.3 子模块打包 Maven -> coin-common ->lifecycle ->install
------------------------要学习的------------------------------------
1.Aspect
------------------------要学习的------------------------------------