Skip to content

Set Jersey client CommonProperties.FEATURE_AUTO_DISCOVERY_DISABLE#68

Merged
marcuslinke merged 1 commit intodocker-java:masterfrom
danjpgriffin:master
Oct 1, 2014
Merged

Set Jersey client CommonProperties.FEATURE_AUTO_DISCOVERY_DISABLE#68
marcuslinke merged 1 commit intodocker-java:masterfrom
danjpgriffin:master

Conversation

@danjpgriffin
Copy link
Copy Markdown

This prevents Jersey SPI autodiscovery of other XML mapping libraries on
your classpath.

We use Moxy for our mapping library with Jersey and were having problems with this conflicting with Jackson mapper used by docker-java plugin. By switching off auto disovery on Jersey client, you can make sure that only the things you have explicitly registered will be used when making Jersey clients.

This prevents Jersey SPI autodiscovery of other XML mapping libraries on
your classpath
marcuslinke added a commit that referenced this pull request Oct 1, 2014
Set Jersey client CommonProperties.FEATURE_AUTO_DISCOVERY_DISABLE
@marcuslinke marcuslinke merged commit b8f95be into docker-java:master Oct 1, 2014
@marcuslinke
Copy link
Copy Markdown
Contributor

Thanks! Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants