Upgraded jackson-jaxrs-json-provider dependency - #407
Conversation
|
Please provide logs of what exactly problem do you see. |
|
Here is the stack trace docker-java depends on version 2.1.2, while spring-boot uses jackson 2.6.3. Since spring-boot-dependencies management pom does not include the dependency |
|
I think docker-java can update dependency, but you can't satisfy everybody. Such update may break deps for somebody else, usually it should be done with using shaded artifacts #340 but it requires reorganise project to multi-module project. |
|
We have multi-module project. We shaded the artifact since it's the most common way to resolve that. Just thought that updating that would be a good idea, as that dependency does not remove the methods, just marks them as deprecated so it keeps backwards compatibility. Maybe I didn't perform the most extensive tests ever, but seems like upgrading the dependency is more compatible than keeping it that way. |
|
Again, jenkins for example uses guava 11, but it doesn't mean that libraries should downgrade guava from 18 to 11. |
|
Of course not. As I said, we've shaded the artifact, which as you also pointed out is the most common way to do that. For me that's perfectly fine, but still seems like the most compatible and comfortable way, in case of this particular dependency, is upgrading the version. We found this issue when including docker-java and spring-boot-starter-web in the same pom.xml file, not when deploying. I can close the pull request if you want me too. I really do understand your point and your concerns. |
|
@igracia i will keep up to @marcuslinke as i also like periodically update deps. Probably for 3.0 we can bump all deps and i will check in reference implementation. |
|
Well, let's try. |
Upgraded jackson-jaxrs-json-provider dependency
|
Mmm.. PR validator is again unavailable. Seems i need back my own. |
|
Cool, thanks a lot! |
There is a version problem when using spring-boot-starter-web 1.3.0, as it needs a later version than the one that the transitive dependency brings.