Antony Mayi created ARROW-1379:
----------------------------------
Summary: maven dependency issues - both unused and undeclared
Key: ARROW-1379
URL: https://issues.apache.org/jira/browse/ARROW-1379
Project: Apache Arrow
Issue Type: Bug
Components: Java - Memory, Java - Vectors
Affects Versions: 0.6.0
Reporter: Antony Mayi
Fix For: 0.7.0
There is couple of dependency issues in the current maven config. This is then
leaking into the integrating project which then needs to specify foreign
dependencies just because arrow doesn't list them properly or is pulling
unnecessary dependencies just because arrow lists them improperly.
Here is the current report for each of the arrow's modules:
{code:title=arrow-format}
[WARNING] Unused declared dependencies found:
[WARNING] org.slf4j:slf4j-api:jar:1.7.25:compile
[WARNING] com.vlkan:flatbuffers:jar:1.2.0-3f79e055:compile
[WARNING] io.netty:netty-handler:jar:4.0.49.Final:compile
[WARNING] com.google.guava:guava:jar:18.0:compile
{code}
{code:title=arrow-memory}
[WARNING] Used undeclared dependencies found:
[WARNING] io.netty:netty-buffer:jar:4.0.49.Final:compile
[WARNING] io.netty:netty-common:jar:4.0.49.Final:compile
[WARNING] Unused declared dependencies found:
[WARNING] com.carrotsearch:hppc:jar:0.7.2:compile
[WARNING] io.netty:netty-handler:jar:4.0.49.Final:compile
{code}
{code:title=arrow-tools}
[WARNING] Used undeclared dependencies found:
[WARNING] com.fasterxml.jackson.core:jackson-databind:jar:2.7.9:compile
[WARNING] com.fasterxml.jackson.core:jackson-core:jar:2.7.9:compile
[WARNING] Unused declared dependencies found:
[WARNING] org.apache.commons:commons-lang3:jar:3.6:compile
[WARNING] org.apache.arrow:arrow-format:jar:0.7.0-SNAPSHOT:compile
[WARNING] io.netty:netty-handler:jar:4.0.49.Final:compile
{code}
{code:title=arrow-vector}
[WARNING] Used undeclared dependencies found:
[WARNING] com.google.code.findbugs:jsr305:jar:3.0.2:compile
[WARNING] com.vlkan:flatbuffers:jar:1.2.0-3f79e055:compile
[WARNING] io.netty:netty-common:jar:4.0.49.Final:compile
[WARNING] io.netty:netty-buffer:jar:4.0.49.Final:compile
[WARNING] com.fasterxml.jackson.core:jackson-core:jar:2.7.9:compile
[WARNING] Unused declared dependencies found:
[WARNING] org.apache.commons:commons-lang3:jar:3.6:compile
[WARNING] io.netty:netty-handler:jar:4.0.49.Final:compile
{code}
I am proposing to add the maven-dependency-plugin to guard the dependency
configuration always stays consistent.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)