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 摘要。