From 405cc4310bb8fca5470c5c30f26bbfcb42ef86a3 Mon Sep 17 00:00:00 2001 From: trang Date: Fri, 22 Sep 2017 15:14:36 +0800 Subject: [PATCH] optimize dependencies --- druid-spring-boot-actuator/pom.xml | 4 ++ druid-spring-boot-autoconfigure/pom.xml | 3 +- druid-spring-boot-samples/pom.xml | 32 +++----------- druid-spring-boot-starter/pom.xml | 2 - pom.xml | 57 +++++++++---------------- 5 files changed, 31 insertions(+), 67 deletions(-) diff --git a/druid-spring-boot-actuator/pom.xml b/druid-spring-boot-actuator/pom.xml index cd23d17..7df7dfa 100644 --- a/druid-spring-boot-actuator/pom.xml +++ b/druid-spring-boot-actuator/pom.xml @@ -17,6 +17,10 @@ org.springframework.boot spring-boot-starter-actuator + + com.alibaba + druid + \ No newline at end of file diff --git a/druid-spring-boot-autoconfigure/pom.xml b/druid-spring-boot-autoconfigure/pom.xml index 3028939..9f36558 100644 --- a/druid-spring-boot-autoconfigure/pom.xml +++ b/druid-spring-boot-autoconfigure/pom.xml @@ -11,7 +11,6 @@ druid-spring-boot-autoconfigure - ${project.artifactId} @@ -21,6 +20,7 @@ org.springframework.boot spring-boot-configuration-processor + true org.springframework @@ -29,6 +29,7 @@ javax.servlet javax.servlet-api + provided org.slf4j diff --git a/druid-spring-boot-samples/pom.xml b/druid-spring-boot-samples/pom.xml index 082a145..11109c2 100644 --- a/druid-spring-boot-samples/pom.xml +++ b/druid-spring-boot-samples/pom.xml @@ -12,37 +12,11 @@ druid-spring-boot-samples - - - - org.springframework.boot - spring-boot-dependencies - ${spring-boot.version} - pom - import - - - com.github.drtrang - druid-spring-boot-starter - ${project.version} - - - org.mybatis.spring.boot - mybatis-spring-boot-starter - RELEASE - - - - org.springframework.boot spring-boot-starter-web - - com.fasterxml.jackson.core - jackson-databind - org.hibernate hibernate-validator @@ -56,6 +30,7 @@ org.mybatis.spring.boot mybatis-spring-boot-starter + RELEASE org.apache.tomcat @@ -67,6 +42,10 @@ com.github.drtrang druid-spring-boot-starter + + com.github.drtrang + druid-spring-boot-actuator + com.h2database h2 @@ -100,4 +79,5 @@ + \ No newline at end of file diff --git a/druid-spring-boot-starter/pom.xml b/druid-spring-boot-starter/pom.xml index c517cde..08f7549 100644 --- a/druid-spring-boot-starter/pom.xml +++ b/druid-spring-boot-starter/pom.xml @@ -11,13 +11,11 @@ druid-spring-boot-starter - ${project.artifactId} com.github.drtrang druid-spring-boot-autoconfigure - ${project.version} diff --git a/pom.xml b/pom.xml index 5316aa2..dd27b96 100644 --- a/pom.xml +++ b/pom.xml @@ -46,11 +46,8 @@ UTF-8 1.8 - 4.3.10.RELEASE - 1.5.6.RELEASE - 1.7.25 - 3.1.0 - 1.1.2 + 1.5.7.RELEASE + 1.1.3 3.0.1 3.0.0 @@ -72,48 +69,32 @@ - org.springframework.boot - spring-boot-autoconfigure - ${spring-boot.version} + com.github.drtrang + druid-spring-boot-autoconfigure + ${project.version} + + + com.github.drtrang + druid-spring-boot-starter + ${project.version} + + + com.github.drtrang + druid-spring-boot-actuator + ${project.version} org.springframework.boot - spring-boot-starter-actuator + spring-boot-dependencies ${spring-boot.version} - - - org.springframework.boot - spring-boot-configuration-processor - ${spring-boot.version} - true - - - org.springframework - spring-jdbc - ${spring.version} - - - javax.servlet - javax.servlet-api - ${servlet-api.version} - provided - - - org.slf4j - slf4j-api - ${slf4j.version} + pom + import com.alibaba druid ${druid.version} - - org.springframework.boot - spring-boot-starter-test - ${spring-boot.version} - test - @@ -321,4 +302,4 @@ - + \ No newline at end of file