springacloud搭建工程的一些记录

1.子模块需要改写pom,让其依赖父项目。

<parent>
<groupId>com.imooc.ecommerce</groupId>
<artifactId>ecommerce-springcloud</artifactId>
<version>1.0-SNAPSHOT</version>
<!--父工程的pom-->
<relativePath>../pom.xml</relativePath>
</parent>


2.在父项目的pom中的dependencymannergenment中统一管理依赖。
posted @ 2022-05-18 21:34  ForMei  阅读(29)  评论(0)    收藏  举报