spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
55.27k stars 37.62k forks source link

Failing while building spring-webflux version 5.3.21 using ./gradlew build (spring-webflux:5.3.21) #32721

Closed shivsrivastava closed 2 weeks ago

shivsrivastava commented 2 weeks ago

Package artifact id: spring-framework

source code url: https://github.com/spring-projects/spring-framework/tree/v5.3.21

Issue Description: Failing while building spring-webflux version 5.3.21 using ./gradlew build (spring-webflux:5.3.21)

JDK Version: 1.8

Build CMD: ./gradlew build

MVN Version: NA

gradle version - 8.x

Error Log:

2024-04-29T01:53:07.094+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2024-04-29T01:53:07.095+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 2024-04-29T01:53:07.095+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2024-04-29T01:53:07.096+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Where: 2024-04-29T01:53:07.096+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Settings file 'C:\code\Code-Latest\spring-webflux5.3.21\code\spring-framework\settings.gradle' line: 11 2024-04-29T01:53:07.097+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 2024-04-29T01:53:07.097+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] What went wrong: 2024-04-29T01:53:07.098+0530 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Plugin [id: 'io.spring.ge.conventions', version: '0.0.9'] was not found in any of the following sources:

attachement: build log attached (jdk 1.8) Failed_java_8.txt

OS: windows 10

snicoll commented 2 weeks ago

This is due to the sunset of repo.spring.io/release and the plugin is not consistently available on Maven Central, see https://central.sonatype.com/artifact/io.spring.ge.conventions/io.spring.ge.conventions.gradle.plugin.

You can workaround that by downgrading to id "io.spring.ge.conventions" version "0.0.7" in settings.gradle.

BTW the log you've attached is for the wrong project.

shivsrivastava commented 2 weeks ago

settings

This is due to the sunset of repo.spring.io/release and the plugin is not consistently available on Maven Central, see https://central.sonatype.com/artifact/io.spring.ge.conventions/io.spring.ge.conventions.gradle.plugin.

You can workaround that by downgrading to id "io.spring.ge.conventions" version "0.0.7" in settings.gradle.

BTW the log you've attached is for the wrong project.

Thanks for update. Please find the correct attached log. I will downgrade and let you know. failed_java_8.txt