Uploaded image for project: 'Maven Remote Resources Plugin'
  1. Maven Remote Resources Plugin
  2. MRRESOURCES-124

Maven 4: Failed to resolve dependencies for one or more projects in the reactor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • None

    Description

      See https://github.com/apache/avro/actions/runs/4054142534/jobs/6975611420

       

      At Apache Avro we are early adopters of Maven 4 Alpha4 and org.apache.maven.plugins:maven-remote-resources-plugin:3.0.0:process often fails with:

      Error:  Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:3.0.0:process (process-resource-bundles) on project avro-grpc: Execution process-resource-bundles of goal org.apache.maven.plugins:maven-remote-resources-plugin:3.0.0:process failed: Failed to resolve dependencies for one or more projects in the reactor. Reason: Couldn't find a version in [1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.23.0, 1.23.1, 1.24.0, 1.24.1, 1.24.2, 1.25.0, 1.26.0, 1.26.1, 1.27.0, 1.27.1, 1.27.2, 1.28.0, 1.28.1, 1.29.0, 1.30.0, 1.30.1, 1.30.2, 1.31.0, 1.31.1, 1.31.2, 1.32.1, 1.32.2, 1.32.3, 1.33.0, 1.33.1, 1.34.0, 1.34.1, 1.35.0, 1.35.1, 1.36.0, 1.36.1, 1.36.2, 1.36.3, 1.37.0, 1.37.1, 1.38.0, 1.38.1, 1.39.0, 1.40.0, 1.40.1, 1.40.2, 1.41.0, 1.41.1, 1.41.2, 1.41.3, 1.42.0, 1.42.1, 1.42.2, 1.42.3, 1.43.0, 1.43.1, 1.43.2, 1.43.3, 1.44.0, 1.44.1, 1.44.2, 1.45.0, 1.45.1, 1.45.2, 1.46.0, 1.46.1, 1.47.0, 1.47.1, 1.48.0, 1.48.1, 1.48.2, 1.49.0, 1.49.1, 1.49.2, 1.50.0] to match range [1.52.1,1.52.1]
          Error:    io.grpc:grpc-api:jar:null
          Error:  
          Error:  from the specified remote repositories:
          Error:    apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
          Error:    central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
          Error:  Path to dependency: 
          Error:  	1) org.apache.avro:avro-grpc:pom:1.12.0-SNAPSHOT
          Error:  	2) io.grpc:grpc-core:jar:1.52.1
          Error:   

       

      grpc-api:1.52.1 is available at Maven Central: https://central.sonatype.com/artifact/io.grpc/grpc-api/1.52.1

       

      Java: 11

      Maven: 4.0.0-alpha4

      https://github.com/apache/avro/blob/0eba47a79e743f8b75ca046c114fe376ef7a2ebf/.github/workflows/maven4.yml#L53-L62

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: