[
https://issues.apache.org/jira/browse/AVRO-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629717#comment-16629717
]
Michael A. Smith commented on AVRO-2196:
----------------------------------------
I can confirm this error using a clean docker build. The fix in the pull
request seems to resolve it.
> Build fails on a clean machine
> ------------------------------
>
> Key: AVRO-2196
> URL: https://issues.apache.org/jira/browse/AVRO-2196
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.9.0
> Reporter: Niels Basjes
> Assignee: Niels Basjes
> Priority: Major
> Fix For: 1.9.0
>
>
> On a clean machine (i.e. empty ~/.m2/reporsitory) when I simply run mvn clean
> package the build fails with
> {code:java}
> {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
> {code}
>
> Apparently the
> {code:java}
> org.apache.avro:avro-mapred:jar:tests:1.9.0-SNAPSHOT{code}
> is not created (but seems needed).
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)