[Java] sbt docker publish fails due to Arrow dependecies
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 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