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

Transitive prerelease dependencies get -SNAPSHOT suffix #12

Open
headius opened this issue May 2, 2024 · 0 comments · May be fixed by #13
Open

Transitive prerelease dependencies get -SNAPSHOT suffix #12

headius opened this issue May 2, 2024 · 0 comments · May be fixed by #13

Comments

@headius
Copy link
Member

headius commented May 2, 2024

Prerelease gems can be specified in maven dependencies using mavengem, but it appears that transitive prerelease dependencies try to resolve with a -SNAPSHOT suffix.

From JRuby while working on jruby/jruby#8221

[ERROR] Failed to execute goal on project jruby-stdlib: Could not resolve dependencies for project org.jruby:jruby-stdlib:jar:9.4.8.0-SNAPSHOT: Failed to collect dependencies at rubygems:subspawn:gem:0.2.0.pre1 -> rubygems:subspawn-common:gem:[0.2.0.pre1-SNAPSHOT,0.2.99999]: No versions available for rubygems:subspawn-common:gem:[0.2.0.pre1-SNAPSHOT,0.2.99999] within specified range -> [Help 1]

In this example, the subspawn 0.2.0.pre1 gem depends on subspawn-common 0.2.0.pre1, but mavengem tries to resolve the latter with a -SNAPSHOT suffix that does not exist.

@headius headius linked a pull request May 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant