Skip to content

Conversation

@Safkatul-Islam
Copy link

This change replaces direct RequestTrace constructor usage with the supported static factory method, addressing the deprecation noted in #1515.

Fixes #1515

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 17, 2025
@mhalbritter
Copy link
Contributor

Thanks for the PR. Please sign-off your commit as documented here.

@mhalbritter mhalbritter added the status: waiting-for-feedback We need additional information before we can continue label Dec 17, 2025
Signed-off-by: Md Safkatul Islam <mrsafkatul.stu24@gmail.com>
@Safkatul-Islam
Copy link
Author

Thanks for the reminder!
I’ve signed off the commit and pushed the update. Please let me know if anything else is needed.

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Dec 18, 2025
@mhalbritter
Copy link
Contributor

Hello!

You changed this line:

RequestTrace requestTrace = new RequestTrace(null);

But there's no deprecation on the constructor?

Those are the deprecation warnings:

[WARNING] .../src/main/java/io/spring/initializr/versionresolver/DefaultMavenVersionResolver.java:[98,17] org.eclipse.aether.spi.locator.ServiceLocator in org.eclipse.aether.spi.locator has been deprecated
[WARNING] .../src/main/java/io/spring/initializr/versionresolver/DefaultMavenVersionResolver.java:[188,24] org.eclipse.aether.spi.locator.ServiceLocator in org.eclipse.aether.spi.locator has been deprecated
[WARNING] .../src/main/java/io/spring/initializr/versionresolver/DefaultMavenVersionResolver.java:[189,17] org.eclipse.aether.impl.DefaultServiceLocator in org.eclipse.aether.impl has been deprecated
[WARNING] .../src/main/java/io/spring/initializr/versionresolver/DefaultMavenVersionResolver.java:[189,75] newServiceLocator() in org.apache.maven.repository.internal.MavenRepositorySystemUtils has been deprecated

@mhalbritter mhalbritter added status: waiting-for-feedback We need additional information before we can continue and removed status: feedback-provided Feedback has been provided labels Dec 18, 2025
@mhalbritter mhalbritter self-assigned this Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix deprecations

3 participants