OpenRefine 示例扩展未构建

OpenRefine sample extension not building

我想自己写OpenRefine extension

在开始任何实施之前,我只想从 OpenRefine 构建 the sample extension 只是为了让我开始。

但是,我遇到了 Maven 错误

 Could not resolve dependencies for project org.openrefine:sample:jar:3.0-SNAPSHOT: org.openrefine:main:jar:3.0-SNAPSHOT was not found in https://oss.sonatype.org/content/repositories/snapshots/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of snapshots has elapsed or updates are forced ->

我只是从 extensions/sample 文件夹中克隆了 OpenRefine 存储库和 运行 mvn compile

有什么建议吗?

好的,我认为示例项目在 pom.xml 中的版本有误。应该是\

<version>3.6-SNAPSHOT</version>

我在这个 PR 中解决了这个问题 https://github.com/OpenRefine/OpenRefine/pull/4395