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

Add full support for SNAPSHOT packages in Maven #6083

Closed
1 of 3 tasks
jeffwidman opened this issue Nov 8, 2022 · 2 comments
Closed
1 of 3 tasks

Add full support for SNAPSHOT packages in Maven #6083

jeffwidman opened this issue Nov 8, 2022 · 2 comments
Labels
L: java:maven Maven packages via Maven Stale T: feature-request Requests for new features

Comments

@jeffwidman
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

While debugging a support escalation an engineer noticed that we don't properly update SNAPSHOT dependencies in Maven repos.

The root cause of this is that the dependency is specified with just a version, but to actually retrieve the dependency from the registry we must parse the maven-metadata.xml for the registry and find the "latest" timestamp for the given snapshot version.

We must also build a URL using this timestamp in the filename so that we can successfully download the artifact.

Tasks:

  • Add maven-metadata.xml parsing logic to retrieve full version specification for SNAPSHOT dependencies
  • Alter URL construction logic to include the full version spec
@jeffwidman jeffwidman added T: feature-request Requests for new features L: java:maven Maven packages via Maven labels Nov 8, 2022
@jeffwidman
Copy link
Member Author

Copy link
Contributor

👋 This issue has been marked as stale because it has been open for 2 years with no activity. You can comment on the issue to hold stalebot off for a while, or do nothing. If you do nothing, this issue will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details.

@github-actions github-actions bot added the Stale label Feb 11, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: java:maven Maven packages via Maven Stale T: feature-request Requests for new features
Projects
None yet
Development

No branches or pull requests

1 participant