Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.10.0
Description
I noticed the build fails for 1.11.0-SNAPSHOT (latest), with:
Nov 21, 2020 2:22:16 PM com.diffplug.spotless.FormatExceptionPolicyLegacy error SEVERE: Step 'eclipse jdt formatter' found problem in 'src/main/java/org/apache/avro/SchemaBuilder.java': Unable to resolve dependencies com.diffplug.spotless.maven.ArtifactResolutionException: Unable to resolve dependencies
Although it seems is not reproducible for many, and it is related to inconsistent dependency download from
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.eclipse.platform:org.eclipse.core.commands:pom:3.9.100 from/to central (https://repo.maven.apache.org/maven2): Failed to transfer file: https://repo.maven.apache.org/maven2/org/eclipse/platform/org.eclipse.core.commands/3.9.100/org.eclipse.core.commands-3.9.100.pom. Return code is: 503 , ReasonPhrase:between bytes timeout.
I noticed that, on my case, this inconsistency seems to have been resolved by upgrading spotless: spotless-maven-plugin.
(The original issue should be to resolve the travis-ci/CI build)