Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1755

avro-mapred should not depend on avro-ipc:test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.7
    • 1.8.0
    • java
    • None
    • Reviewed

    Description

      avro-ipc:test is used by some avro-mapred tests and it thus declared as a dependency in the POM file. However, its scope is declared as compile rather than test.

      $ mvn dependency:tree -Dscope=compile -Dincludes=org.apache.avro
      [...]
      [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ avro-mapred ---
      [INFO] org.apache.avro:avro-mapred:bundle:1.9.0-SNAPSHOT
      [INFO] +- org.apache.avro:avro-ipc:jar:1.9.0-SNAPSHOT:compile
      [INFO] |  \- org.apache.avro:avro:jar:1.9.0-SNAPSHOT:compile
      [INFO] \- org.apache.avro:avro-ipc:jar:tests:1.9.0-SNAPSHOT:compile
      

      It seems unfortunate to ship this extra JAR to every avro-mapred client.

      Attachments

        1. AVRO-1755.patch
          0.4 kB
          Clément MATHIEU

        Activity

          People

            clement@unportant.info Clément MATHIEU
            clement@unportant.info Clément MATHIEU
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: