Exclusion in POM dependency#17
Conversation
|
Yeah. At one point I had all dropwizard dependencies with "provided" because most likely the user will explicitly declare DW dependencies. I don't remember why I changed that. Asking the users to exclude transitive DW dependencies when using this project seems a bit awkward. Maybe we should just mark DW dependencies with "provided" scope. What do you think? |
Yes, thought about that, too. Just don't know if that'd make development more cumbersome for you. Don't think so, though. |
|
@federecio, as the shade plugin still throws warnings, should we revisit this "poll". I wouldn't mind doing the work myself and I most definitely vote in favor of having the DW dependencies provided. |
|
👍 |
|
I don't think this version is being maintained any longer. I've forked this version and started pushing builds to maven central at https://github.com/smoketurner/dropwizard-swagger |
IMO it'd be wise to instruct users to exclude any
io.dropwizarddependencies from the io.federecio:dropwizard-swagger dependency because they have an explicit non-transitive Dropwizard dependency anyway. That way one can avoid clashes between different versions.