Commit bc0eef9a by Dave Syer

Exclude jackson XML from eureka client by default

Any client that wants to can include it back again, but generally it only causes problems (XML returned from apps instead of JSON by Spring MVC for instance). In general it only causes problems for services whose clients use "Accept: application/xml,*/*", for instance (like a browser). See gh-306
parent 093354e2
......@@ -283,6 +283,10 @@
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<artifactId>jackson-dataformat-xml</artifactId>
<groupId>com.fasterxml.jackson.dataformat</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- Eureka core dep that is now optional -->
......
......@@ -84,6 +84,10 @@
</dependency>
<!-- Eureka deps that are now optional in eureka -->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
......
......@@ -40,9 +40,5 @@
<groupId>com.netflix.ribbon</groupId>
<artifactId>ribbon-eureka</artifactId>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
</dependencies>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment