You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/04/01 01:19:53 UTC

[jira] [Created] (CALCITE-658) Cleanup dependency usage

Nick Dimiduk created CALCITE-658:
------------------------------------

             Summary: Cleanup dependency usage
                 Key: CALCITE-658
                 URL: https://issues.apache.org/jira/browse/CALCITE-658
             Project: Calcite
          Issue Type: Improvement
            Reporter: Nick Dimiduk
            Assignee: Julian Hyde


Noticed while working on CALCITE-652 and using maven's dependency plugin. Our pom's aren't in sync with our usage.

It looks like we can use the dependency to run the report in our verify phase, and even optionally fail the build when things creep.

{noformat}
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ calcite-linq4j ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.hamcrest:hamcrest-core:jar:1.3:test
...
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ calcite-core ---
[WARNING] Used undeclared dependencies found:
[WARNING]    com.google.guava:guava:jar:14.0.1:compile
[WARNING]    com.fasterxml.jackson.core:jackson-annotations:jar:2.1.1:compile
[WARNING]    com.fasterxml.jackson.core:jackson-core:jar:2.1.1:compile
[WARNING]    org.hamcrest:hamcrest-core:jar:1.3:test
[WARNING] Unused declared dependencies found:
[WARNING]    mysql:mysql-connector-java:jar:5.1.20:test
[WARNING]    net.hydromatic:foodmart-data-hsqldb:jar:0.3:test
[WARNING]    net.hydromatic:scott-data-hsqldb:jar:0.1:test
...
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ calcite-example-csv ---
[WARNING] Used undeclared dependencies found:
[WARNING]    com.fasterxml.jackson.core:jackson-core:jar:2.1.1:compile
[WARNING]    com.google.guava:guava:jar:14.0.1:compile
[WARNING]    com.fasterxml.jackson.core:jackson-databind:jar:2.1.1:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.apache.calcite:calcite-avatica:jar:1.2.0-incubating-SNAPSHOT:compile
...
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ calcite-mongodb ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.hamcrest:hamcrest-core:jar:1.3:test
[WARNING]    com.google.guava:guava:jar:14.0.1:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.apache.calcite:calcite-avatica:jar:1.2.0-incubating-SNAPSHOT:compile
...
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ calcite-plus ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.hamcrest:hamcrest-core:jar:1.3:test
[WARNING] Unused declared dependencies found:
[WARNING]    org.apache.calcite:calcite-avatica:jar:1.2.0-incubating-SNAPSHOT:compile
...
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ calcite-spark ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.eclipse.jetty:jetty-util:jar:9.2.7.v20150116:compile
[WARNING]    junit:junit:jar:4.11:compile
[WARNING]    org.scala-lang:scala-library:jar:2.10.3:compile
[WARNING]    com.google.guava:guava:jar:14.0.1:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.apache.calcite:calcite-avatica:jar:1.2.0-incubating-SNAPSHOT:compile
[WARNING]    xerces:xercesImpl:jar:2.9.1:compile
[WARNING]    xalan:xalan:jar:2.7.1:compile
...
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ calcite-splunk ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.hamcrest:hamcrest-core:jar:1.3:test
[WARNING]    com.google.guava:guava:jar:14.0.1:compile
...
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ calcite-ubenchmark ---
[WARNING] Unused declared dependencies found:
[WARNING]    org.apache.calcite:calcite-linq4j:jar:1.2.0-incubating-SNAPSHOT:compile
[WARNING]    org.openjdk.jmh:jmh-generator-annprocess:jar:0.7.1:provided
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)