问题:
ERROR] Failed to execute goal on project cloudera-manager-schema: Could not resolve dependencies for project com.cloudera.cmf.schema:cloudera-manager-schema:jar:5.12.0: Failure to find commons-cli:commons-cli:jar:1.3-cloudera-pre-r1439998 in http://maven.zmops.cc:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced -> [Help 1]
解决方式:在/data/bigdata/livy_zeppelin_cdh_csd_parcels/cm_ext/cm-schema路径中,看pom.xml的文件中,大概93行左右出现,在这个连接的地方把包下载下来放到自己的mvn库中就好了
<repositories>
<!-- For our build of commons-cli -->
<repository>
<id>cloudera-external</id>
<name>Cloudera External Repo</name>
<url>https://repository.cloudera.com/artifactory/ext-release-local/</url>
<snapshots>
&l

在CDH环境中集成Livy时遇到编译Parcel包错误,具体表现为无法从指定仓库下载commons-cli依赖。为解决此问题,需要手动下载`commons-cli-1.3-cloudera-pre-r1439998.jar`和`commons-cli-1.3-cloudera-pre-r1439998.pom`文件,将它们放入本地Maven仓库的相应目录下,以完成依赖的解析和编译。
2538

被折叠的 条评论
为什么被折叠?



