Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0
-
None
Description
To reduce the Maven download flakiness, we had better enable caching on local maven repository.
[ERROR] Failed to execute goal on project spark-streaming-kafka-0-10_2.12: Could not resolve dependencies for project org.apache.spark:spark-streaming-kafka-0-10_2.12:jar:spark-367716: Could not transfer artifact com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.10.0 from/to central (https://repo.maven.apache.org/maven2): Failed to transfer file https://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.10.0/jackson-datatype-jdk8-2.10.0.jar with status code 503 -> [Help 1] 13 [ERROR] 14 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 15 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 16 [ERROR] 17 [ERROR] For more information about the errors and possible solutions, please read the following articles: 18 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 19 [ERROR] 20 [ERROR] After correcting the problems, you can resume the build with the command 21 [ERROR] mvn <args> -rf :spark-streaming-kafka-0-10_2.12