Nebula Exchange 中的pulsar-spark-connector_2.11:jar:2.4.5 找不到

setting.xml 文件内容如下

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <mirrors>
    <mirror>
        <id>alimaven</id>
        <mirrorOf>central</mirrorOf>
        <name>aliyun maven</name>
        <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
    </mirror>
    </mirrors>
</settings>

日志报错如下

[ERROR] Failed to execute goal on project nebula-exchange: Could not resolve dependencies for project com.vesoft:nebula-exchange:jar:2.5-SNAPSHOT: The following artifacts could not be resolved: io.streamnative.connectors:pulsar-spark-connector_2.11:jar:2.4.5, neo4j-contrib:neo4j-spark-connector:jar:2.4.5-M1: Failure to find io.streamnative.connectors:pulsar-spark-connector_2.11:jar:2.4.5 in http://maven.aliyun.com/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced -> [Help 1]

使用idea 构建 报找不到包,好奇怪 setting文件 就那么点东西 为什么还说找不到呢

参考这个帖子,:thinking: 可能是没拉下来。

又报了一个这个

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (default) on project nebula-exchange: Unable to execute gpg command: Error while executing process. Cannot run program "gpg": error=2, No such file or directory -> [Help 1]

解决思路是 修改了pom.xml 文件中如下信息


不知道是否正确 还请大神指点

-Dgpg.skip 这个参数可以跳过gpg

nebula手册中,编译Exchange,17.2.1中有解决方案。直接下载pulsar-spark-connector_2.11的jar包,解压到本地Maven库的目录 io/streamnative/connectors 中即可。
手册现在地址:https://docs.nebula-graph.com.cn/site/pdf/NebulaGraph-book.pdf

要不要考虑看下手册呀

此话题已在最后回复的 7 天后被自动关闭。不再允许新回复。

浙ICP备20010487号