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

Spotless-Maven-Plugin: Upgrade to latest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.10.0
    • 1.11.0
    • java

    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)
       

       

      Attachments

        Issue Links

          Activity

            People

              iemejia Ismaël Mejía
              alexz Alex Zbarcea
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m