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

Build fails on a clean machine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.9.0
    • java
    • None

    Description

      On a clean machine (i.e. empty ~/.m2/reporsitory) when I simply run mvn clean package the build fails with

      {code:java}
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Apache Avro Tools 1.9.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Apache Avro Toplevel .............................. SUCCESS [1.009s]
      [INFO] Apache Avro Java .................................. SUCCESS [0.930s]
      [INFO] Apache Avro Guava Dependencies .................... SUCCESS [1.377s]
      [INFO] Apache Avro ....................................... SUCCESS [1:02.460s]
      [INFO] Apache Avro Compiler .............................. SUCCESS [10.705s]
      [INFO] Apache Avro Maven Plugin .......................... SUCCESS [5.190s]
      [INFO] Apache Avro IPC ................................... SUCCESS [47.988s]
      [INFO] Trevni Java ....................................... SUCCESS [0.089s]
      [INFO] Trevni Java Core .................................. SUCCESS [4.526s]
      [INFO] Apache Avro Mapred API ............................ SUCCESS [1:29.866s]
      [INFO] Trevni Java Avro .................................. SUCCESS [14.612s]
      [INFO] Trevni Specification .............................. SUCCESS [0.229s]
      [INFO] Apache Avro Tools ................................. FAILURE [0.042s]
      [INFO] Apache Avro Protobuf Compatibility ................ SKIPPED
      [INFO] Apache Avro Thrift Compatibility .................. SKIPPED
      [INFO] Apache Avro Maven Archetypes ...................... SKIPPED
      [INFO] Apache Avro Maven Service Archetype ............... SKIPPED
      [INFO] Apache Avro gRPC .................................. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3:59.636s
      [INFO] Finished at: Fri Jun 29 09:14:04 UTC 2018
      [INFO] Final Memory: 80M/1309M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project avro-tools: Could not resolve dependencies for project org.apache.avro:avro-tools:jar:1.9.0-SNAPSHOT: Could not find artifact org.apache.avro:avro-mapred:jar:tests:1.9.0-SNAPSHOT -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :avro-tools
      

       

      Apparently the 

      org.apache.avro:avro-mapred:jar:tests:1.9.0-SNAPSHOT

      is not created (but seems needed).

       

      Attachments

        Issue Links

          Activity

            People

              nielsbasjes Niels Basjes
              nielsbasjes Niels Basjes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: