Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle apiDiff task does not work against a milestone #27928

Closed
snicoll opened this issue Jan 13, 2022 · 0 comments
Closed

Gradle apiDiff task does not work against a milestone #27928

snicoll opened this issue Jan 13, 2022 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Jan 13, 2022

Running ./gradlew apiDiff -PbaselineVersion=6.0.0-M1 leads to:

Starting a Gradle Daemon (subsequent builds will be faster)
> Task :spring-instrument:apiDiff FAILED
> Task :spring-jcl:apiDiff FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':spring-instrument:apiDiff'.
> Could not resolve all files for configuration ':detachedConfiguration9'.
   > Could not find org.springframework:spring-instrument:6.0.0-M1.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/springframework/spring-instrument/6.0.0-M1/spring-instrument-6.0.0-M1.pom
       - https://repo.spring.io/libs-spring-framework-build/org/springframework/spring-instrument/6.0.0-M1/spring-instrument-6.0.0-M1.pom
     Required by:
         project :

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':spring-jcl:apiDiff'.
> Could not resolve all files for configuration ':detachedConfiguration10'.
   > Could not find org.springframework:spring-jcl:6.0.0-M1.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/springframework/spring-jcl/6.0.0-M1/spring-jcl-6.0.0-M1.pom
       - https://repo.spring.io/libs-spring-framework-build/org/springframework/spring-jcl/6.0.0-M1/spring-jcl-6.0.0-M1.pom
     Required by:
         project :

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 15s
31 actionable tasks: 8 executed, 4 from cache, 19 up-to-date

Adding the milestone repo manually fixes the problem.

@snicoll snicoll added the type: bug A general bug label Jan 13, 2022
@snicoll snicoll added this to the 6.0.x milestone Jan 13, 2022
@bclozel bclozel modified the milestones: 6.0.x, 6.0.0-M3 Jan 13, 2022
@bclozel bclozel self-assigned this Jan 13, 2022
@bclozel bclozel added type: task A general task and removed type: bug A general bug labels Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants