From 486065548e3b3eaa3fa773b2ab9c07f679e9e5f1 Mon Sep 17 00:00:00 2001 From: bnasslahsen <badr.nasslashen@gmail.com> Date: Sun, 5 Apr 2020 17:07:42 +0200 Subject: [PATCH] use webjars-locator-core instead of webjars-locator. Fixes #461 --- pom.xml | 16 +++------------- springdoc-openapi-ui/pom.xml | 2 +- springdoc-openapi-webflux-ui/pom.xml | 2 +- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index 22248fa68..068995751 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,6 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi</artifactId> @@ -71,7 +73,6 @@ <nexus-staging-maven-plugin>1.6.8</nexus-staging-maven-plugin> <swagger-api.version>2.1.1</swagger-api.version> <swagger-ui.version>3.25.0</swagger-ui.version> - <webjars-locator.version>0.38</webjars-locator.version> <spring-security-oauth2.version>2.3.8.RELEASE</spring-security-oauth2.version> <classgraph.version>4.8.44</classgraph.version> </properties> @@ -106,17 +107,6 @@ <artifactId>swagger-ui</artifactId> <version>${swagger-ui.version}</version> </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>webjars-locator</artifactId> - <version>${webjars-locator.version}</version> - <exclusions> - <exclusion> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-databind</artifactId> - </exclusion> - </exclusions> - </dependency> <dependency> <groupId>org.springframework.security.oauth</groupId> <artifactId>spring-security-oauth2</artifactId> diff --git a/springdoc-openapi-ui/pom.xml b/springdoc-openapi-ui/pom.xml index 3cd731fca..f9eeb5bc6 100644 --- a/springdoc-openapi-ui/pom.xml +++ b/springdoc-openapi-ui/pom.xml @@ -26,7 +26,7 @@ </dependency> <dependency> <groupId>org.webjars</groupId> - <artifactId>webjars-locator</artifactId> + <artifactId>webjars-locator-core</artifactId> </dependency> <dependency> <groupId>org.hibernate.validator</groupId> diff --git a/springdoc-openapi-webflux-ui/pom.xml b/springdoc-openapi-webflux-ui/pom.xml index 82ee831a7..5f8dd9ff8 100644 --- a/springdoc-openapi-webflux-ui/pom.xml +++ b/springdoc-openapi-webflux-ui/pom.xml @@ -21,7 +21,7 @@ </dependency> <dependency> <groupId>org.webjars</groupId> - <artifactId>webjars-locator</artifactId> + <artifactId>webjars-locator-core</artifactId> </dependency> <dependency> <groupId>org.hibernate.validator</groupId>