You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2018/03/16 16:04:00 UTC

[jira] [Commented] (CALCITE-2215) Avatica - Remove unused shaded jar

    [ https://issues.apache.org/jira/browse/CALCITE-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16402099#comment-16402099 ] 

Josh Elser commented on CALCITE-2215:
-------------------------------------

{noformat}
[INFO] -----------------< org.apache.calcite.avatica:avatica >-----------------
[INFO] Building Apache Calcite Avatica (Shaded) 1.12.0-SNAPSHOT         [10/10]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ avatica ---
[INFO] org.apache.calcite.avatica:avatica:jar:1.12.0-SNAPSHOT
[INFO] \- org.apache.calcite.avatica:avatica-core:jar:1.12.0-SNAPSHOT:compile
[INFO]    +- org.apache.calcite.avatica:avatica-metrics:jar:1.12.0-SNAPSHOT:compile
[INFO]    +- com.fasterxml.jackson.core:jackson-core:jar:2.9.4:compile
[INFO]    +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.4:compile
[INFO]    +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.4:compile
[INFO]    +- com.google.protobuf:protobuf-java:jar:3.3.0:compile
[INFO]    +- org.apache.httpcomponents:httpclient:jar:4.5.2:compile
[INFO]    |  +- commons-logging:commons-logging:jar:1.2:compile
[INFO]    |  \- commons-codec:commons-codec:jar:1.9:compile
[INFO]    +- org.apache.httpcomponents:httpcore:jar:4.4.4:compile
[INFO]    \- org.slf4j:slf4j-api:jar:1.7.13:compile{noformat}
These are transitive dependencies. We have dependencies on commons-logging and commons-codec because commons httpclient requires them.

However, neither of these jars bundles the Java packages you list in their original location: {{org/apache/calcite/avatica/org/apache/commons/}} is the location inside the avatica shaded client jar.

Can you please provide more information as to what problem you think exists in Avatica?

> Avatica - Remove unused shaded jar
> ----------------------------------
>
>                 Key: CALCITE-2215
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2215
>             Project: Calcite
>          Issue Type: Task
>            Reporter: Volodymyr Vysotskyi
>            Assignee: Julian Hyde
>            Priority: Minor
>
> Currently shaded/core/pom.xml and standalone-server/pom.xml files shade jar which was not declared in the pom files:
>  - org.apache.commons
> It may cause problems for projects which shade Avatica and have dependencies to the specified library.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)