apache / apache/arrow-java

[Java] sbt docker publish fails due to Arrow dependecies

未关闭
#283 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: bug
主要语言
Java
星标
94
派生
152
平均合并
3 天 16 小时
30 天内合并 PR
11

描述

Hello guys

I'm using Arrow in my Scala project and included Maven deps in sbt as required.

However, when I try to publish a Docker container with sbt 'docker:publish', I get the following error:

[error] 1 error was encountered during merge
[error] java.lang.RuntimeException: deduplicate: different file contents found in the following:

[error] /home/bku/.cache/coursier/v1/https/repo1.maven.org/maven2/org/apache/arrow/arrow-vector/0.14.1/arrow-vector-0.14.1.jar:git.properties
[error] /home/bku/.cache/coursier/v1/https/repo1.maven.org/maven2/org/apache/arrow/arrow-format/0.14.1/arrow-format-0.14.1.jar:git.properties
[error] /home/bku/.cache/coursier/v1/https/repo1.maven.org/maven2/org/apache/arrow/arrow-memory/0.14.1/arrow-memory-0.14.1.jar:git.properties

My project is [here](https://github.com/Clover-Group/tsp/tree/kafka).

You may check project dependency tree attached.

How do I fix that?

Thank you

**Reporter**: [Boris V.Kuznetsov](https://issues.apache.org/jira/browse/ARROW-6361)
#### Related issues:
- [[Java] Inclusion of a git.properties resource in Arrow JARs causes confusion in Spring Boot applications](https://github.com/apache/arrow/issues/32154) (relates to)
#### Original Issue Attachments:
- [tree.txt](https://issues.apache.org/jira/secure/attachment/12978611/tree.txt)

**Note**: *This issue was originally created as [ARROW-6361](https://issues.apache.org/jira/browse/ARROW-6361). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

贡献指南

打开贡献指南

调研方向

首先复现 sbt's docker:publish 的失败,并检查附带的 tree.txt 依赖树,重点关注错误中列出的 Arrow JARs。完成的标准是 Docker publish 在没有重复 git.properties 合并错误的情况下完成;该 issue 没有指出需要修改的源文件或测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, java, scala
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。