-
Notifications
You must be signed in to change notification settings - Fork 180
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
Libraries that potentially break backwards-compatibility should not be brought in via "provided" #183
Comments
So, what shall we do? |
I've had a night to sleep on this, and I'm feeling slightly less passionate against the "provided" approach because the backwards compatibility on which Passion dampening withstanding, I think the separate modules for Scala libraries is the better approach:
The most important argument, I think, is that separate modules, while increasing the amount signal in our What are your thoughts? What arguments persuaded you to combine them together? |
I think it will simplify the usage, which is why I combined the plugins to the main jar. Can we try |
My understanding is that semantically, http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html However, unfortunately, The referenced maven page does say this:
So... ¯_(ツ)_/¯ Optional is probably better. It still doesn't collide, cause warnings, or anything. Both
I have the following dependencies in another library:
And,
No warnings displayed, no hint of incompatibility. |
Yeah, it won't appear in the But with independent plugins, we need package and import many minor jars, and these plugins will also bind to some specified version of third party dependencies. So I want to know others' response. |
Okay, that's fair. It's probably okay as is. :) If you feel strongly about it being the way it is, I won't complain any more. |
Well, last time I changed it to |
Hi @timcharper, the changes of splitting addons to independent projects are ready. :-) |
Hurray!!! |
Using "provided" for terrible, because SBT does not have a chance to tell you that there is a version incompatibility, and this is critical (IE - I have
play-json
2.3.x
, butslick-pg
uses2.4.x
). I would motion that it be moved back to the way it was.Since Joda time is no longer under development, there is little risk there. But for integration with
play-json
,json4s
,argonaut
, etc. - backwards compatibility is broken with each minor version bump.What can compound this issue is if these libraries depend on versions of other libraries that conflict.
The text was updated successfully, but these errors were encountered: