Hello Ryan, all,
Sorry not providing more details before, but first I wanted to check
if someone gets interested about this topic or not. It seems so. :-)
Ok, I will provide a bit more info.
Currently, these are all the dependencies I'm using in my application:
repositories {
mavenCentral()
}
dependencies {
compile (
'io.dropwizard:dropwizard-core:' + dropwizardVersion,
'io.dropwizard:dropwizard-hibernate:' + dropwizardVersion,
'io.dropwizard:dropwizard-migrations:' + dropwizardVersion,
'io.dropwizard:dropwizard-auth:' + dropwizardVersion,
'io.dropwizard:dropwizard-client:' + dropwizardVersion,
'io.dropwizard:dropwizard-testing:' + dropwizardVersion,
'org.mariadb.jdbc:mariadb-java-client:1.3.3',
'com.github.toastshaman:dropwizard-auth-jwt:0.9.1-1',
'org.glassfish.jersey.media:jersey-media-multipart:2.22.1',
'commons-io:commons-io:2.4',
'javax.mail:mail:1.4',
'org.apache.httpcomponents:httpmime:4.5.1'
)
compile ('com.emc.ecs:object-client:2.2.2') {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
compile ('com.emc.ecs:atmos-client:2.2.2.1')
}
The dependencies that are causing the conflict are
"com.emc.ecs:atmos-client:2.2.2.1'" and
"com.emc.ecs:object-client:2.2.2", which depend on
"'com.emc.ecs:smart-client:2.1.0'", which, in turn, directly depends
on:
'com.sun.jersey:jersey-client:1.19',
'com.sun.jersey.contribs:jersey-apache-client4:1.19',
'org.apache.httpcomponents:httpclient:4.2.6'
Thus... I attached the output of 'gradle dependencies' in this
message. Take a look at the atmos-client and object-client (at the end
of file). I've realized that the "com.sun.jersey.contribs" depends on
the com.sun.jersey.contribs:jersey-core.
I really don't imagine how I could make dropwizard to use the old
Jersey 1.x. Do you think that the given situation is feasible to make
it work with the 1.x version? In case of a positive answer, how to
proceed. :-)
Cheers!
> You received this message because you are subscribed to a topic in the
> Google Groups "dropwizard-user" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/dropwizard-user/Q_108pJl_Ss/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to