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

sbt should reject projects with dependencies on multiple versions of the same artifact #603

Closed
harrah opened this issue Jan 5, 2013 · 1 comment

Comments

@harrah
Copy link
Owner

harrah commented Jan 5, 2013

I recent was bitten when a project had a direct dependency on one version of an artifact, but an indirect dependency on a different version of the same artifact. The result was to silently place the indirect dependency on the classpath, leading to extremely difficult to diagnose compilation errors.

IMHO, sbt should refuse to accept a project definition in such cases, and provide helpful diagnostics about the conflicting versions and where they come from in the dependency graph.

@harrah
Copy link
Owner Author

harrah commented Jan 5, 2013

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#603 for the full issue and to comment.

@harrah harrah closed this as completed Jan 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant