Added exclusions such that swagger no longer pulls in jackson
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/b214d37a Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/b214d37a Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/b214d37a Branch: refs/heads/master Commit: b214d37a2f0db5163612a3b63efe61ae9676df82 Parents: 5377839 Author: graeme.miller <graeme.mil...@cloudsoftcorp.com> Authored: Mon Sep 26 13:46:44 2016 +0100 Committer: graeme.miller <graeme.mil...@cloudsoftcorp.com> Committed: Mon Sep 26 13:46:44 2016 +0100 ---------------------------------------------------------------------- parent/pom.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/b214d37a/parent/pom.xml ---------------------------------------------------------------------- diff --git a/parent/pom.xml b/parent/pom.xml index 5967412..b64107c 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -225,12 +225,43 @@ <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-yaml</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.datatype</groupId> + <artifactId>jackson-datatype-joda</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-jaxrs</artifactId> <version>${swagger.version}</version> + <exclusions> + <exclusion> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-xml</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-yaml</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.jaxrs</groupId> + <artifactId>jackson-jaxrs-json-provider</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>javax.servlet</groupId>