Skip to content

'TransferResource(java.lang.String, java.lang.String, java.lang.String, java.io.File, org.eclipse.aether.RequestTrace)' is deprecated #715

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

Closed
Pankraz76 opened this issue May 1, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Pankraz76
Copy link

Pankraz76 commented May 1, 2025

'TransferResource(java.lang.String, java.lang.String, java.lang.String, java.io.File, org.eclipse.aether.RequestTrace)' is deprecated

use: TransferResource(String, String, String, Path, Object, RequestTrace)

applied:

expect this to be covered:

https://github.com/apache/maven/blob/3706aa1e5c7b96632eb0b69e1210f7648df0e981/impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java#L67

Image
@timtebeek
Copy link
Contributor

Thanks for helping maintain Apache/maven! The particular recipe suggested here seems fairly niche; I wouldn't expect just any Java project to have a reference to that class, so then perhaps that recipe can best live elsewhere; either in a recipe module that you maintain, or one at apache. Or even as just a declarative yaml to support this one time migration.

Also note that you can compose such recipes easily using the recipe builder.
And then run those easily against all Apache Maven repositories through Moderne: https://app.moderne.io/devcenter/Apache%20Maven
Be sure to get approval before any large PR campaigns though, to avoid any friction.

I'll close this issue but appreciate the suggestion.

@timtebeek timtebeek closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants