From fa2f76f5ea72a1e53136a315b2a7faa6be64f67f Mon Sep 17 00:00:00 2001 From: YunaiV <> Date: Sat, 6 Apr 2019 21:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF=EF=BC=9A=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=20product=20=E6=A8=A1=E5=9D=97=E7=9A=84=20setting=20getting=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/product-application/pom.xml | 35 +---------------- .../convert/ProductCategoryConvert.java | 2 +- product/product-service-api/pom.xml | 11 +++++- product/product-service-impl/pom.xml | 38 +++++-------------- 4 files changed, 21 insertions(+), 65 deletions(-) diff --git a/product/product-application/pom.xml b/product/product-application/pom.xml index be7a4820..9454e14b 100644 --- a/product/product-application/pom.xml +++ b/product/product-application/pom.xml @@ -11,10 +11,6 @@ product-application - - 1.3.0.Final - - cn.iocoder.mall @@ -47,6 +43,7 @@ org.springframework.boot spring-boot-starter-web + mysql mysql-connector-java @@ -58,7 +55,6 @@ org.mybatis.spring.boot mybatis-spring-boot-starter - 2.0.0 @@ -71,7 +67,6 @@ com.alibaba dubbo - com.alibaba.boot dubbo-spring-boot-starter @@ -80,31 +75,15 @@ org.apache.curator curator-framework - 2.12.0 - - org.mapstruct - mapstruct - - - io.springfox springfox-swagger2 - 2.9.2 io.springfox springfox-swagger-ui - 2.9.2 - - - - javax.servlet - servlet-api - 2.5 - provided @@ -115,18 +94,6 @@ org.apache.maven.plugins maven-compiler-plugin - 3.5.1 - - 1.8 - 1.8 - - - org.mapstruct - mapstruct-processor - ${org.mapstruct.version} - - - diff --git a/product/product-application/src/main/java/cn/iocoder/mall/product/application/convert/ProductCategoryConvert.java b/product/product-application/src/main/java/cn/iocoder/mall/product/application/convert/ProductCategoryConvert.java index 9966488a..22fd4d9e 100644 --- a/product/product-application/src/main/java/cn/iocoder/mall/product/application/convert/ProductCategoryConvert.java +++ b/product/product-application/src/main/java/cn/iocoder/mall/product/application/convert/ProductCategoryConvert.java @@ -28,4 +28,4 @@ public interface ProductCategoryConvert { @Mappings({}) CommonResult convert2(CommonResult result); -} \ No newline at end of file +} diff --git a/product/product-service-api/pom.xml b/product/product-service-api/pom.xml index 24117697..8a30eb27 100644 --- a/product/product-service-api/pom.xml +++ b/product/product-service-api/pom.xml @@ -22,6 +22,15 @@ org.hibernate.validator hibernate-validator + + + org.mapstruct + mapstruct + + + org.mapstruct + mapstruct-jdk8 + - \ No newline at end of file + diff --git a/product/product-service-impl/pom.xml b/product/product-service-impl/pom.xml index 7195150a..61ec40dd 100644 --- a/product/product-service-impl/pom.xml +++ b/product/product-service-impl/pom.xml @@ -16,43 +16,35 @@ - - com.alibaba - dubbo - 2.6.5 - compile - + cn.iocoder.mall product-service-api 1.0-SNAPSHOT - compile mysql mysql-connector-java + + org.mybatis.spring.boot + mybatis-spring-boot-starter + + org.springframework.boot spring-boot-starter-jdbc - org.mybatis.spring.boot - mybatis-spring-boot-starter - 2.0.0 - - - org.mapstruct - mapstruct - ${org.mapstruct.version} + com.alibaba + dubbo com.google.guava guava - 27.0.1-jre @@ -63,20 +55,8 @@ org.apache.maven.plugins maven-compiler-plugin - 3.5.1 - - 1.8 - 1.8 - - - org.mapstruct - mapstruct-processor - ${org.mapstruct.version} - - - - \ No newline at end of file +