如何为 Apache IoTDB 版本 1.1.0 打包依赖项和快照?

问题描述 投票:0回答:1

当我尝试在本地打包 Apache IoTDB V1.1.0 的依赖项时,收到错误:

Could not resolve dependencies for project org.apache.iotdb:iotdb-consensus:jar:1.1.0: The following artifacts could not be resolved: org.apache.ratis:ratis-server:jar:2.4.2-ebba77d-SNAPSHOT, org.apache.ratis:ratis-common:jar:2.4.2-ebba77d-SNAPSHOT, org.apache.ratis:ratis-grpc:jar:2.4.2-ebba77d-SNAPSHOT: Could not find artifact org.apache.ratis:ratis-server:jar:2.4.2-ebba77d-SNAPSHOT
。 这个依赖里面有快照,请问如何才能成功打包呢?

database apache-iotdb iotdb
1个回答
0
投票

1、首先进入报错的dependency子项目目录执行mvn install

2、执行成功后,进入父项目目录执行mvn install,安装根pom

© www.soinside.com 2019 - 2024. All rights reserved.