- 关联模块到拓展模块中
## 1.添加core模块, 如果已经添加类edge-core模块,则可以忽略此步骤.
$ git submodule add --force [email protected]:jetlinks/edge-core.git expands-components/jetlinks-edge/edge-core
## 2. 添加边缘云端管理模块
$ git submodule add --force [email protected]:jetlinks/edge-master.git expands-components/jetlinks-edge/edge-master
- 在项目根目录下的
pom.xml
中的modules
节点中添加模块
<modules>
<module>expands-components/jetlinks-edge/edge-master</module>
</modules>
- 在启动模块中引入依赖
<dependency>
<groupId>org.jetlinks.pro</groupId>
<artifactId>edge-master</artifactId>
<version>${project.version}</version>
</dependency>
- 重新编译启动即可