Alex Zbarcea created AVRO-2985:
----------------------------------

             Summary: Spotless-Maven-Plugin: Upgrade to latest 2.6.1
                 Key: AVRO-2985
                 URL: https://issues.apache.org/jira/browse/AVRO-2985
             Project: Apache Avro
          Issue Type: Improvement
          Components: java
    Affects Versions: 1.10.0
            Reporter: Alex Zbarcea
             Fix For: 1.11.0


I noticed the build fails for {{1.11.0-SNAPSHOT}} (latest), with:
{code:java}
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
{code}
Although it seems is not reproducible for many, and it is related to 
inconsistent dependency download from
{code:java}
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.
{code}
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|https://travis-ci.com/github/apache/avro/jobs]/CI build)
  

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to