Commit 0529a43a by QIANGLU

修复依赖关系

parent ebd228d1
......@@ -3,9 +3,9 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -3,19 +3,15 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common-util</artifactId>
<dependencies>
<dependency>
<groupId>com.secoo.mall</groupId>
<artifactId>common-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
......@@ -24,21 +20,30 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<!-- <dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>commons-compiler</artifactId>
<version>2.7.8</version>
</dependency>
<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
<version>2.7.8</version>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.7</version>
</dependency>-->
<groupId>com.secoo.matrix</groupId>
<artifactId>common-core</artifactId>
</dependency>
<!-- <dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>commons-compiler</artifactId>
<version>2.7.8</version>
</dependency>
<dependency>
<groupId>org.codehaus.janino</groupId>
<artifactId>janino</artifactId>
<version>2.7.8</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.7</version>
</dependency>-->
</dependencies>
......
package com.secoo.mall.common.util.bean;
import com.secoo.mall.common.core.errorcode.CommonErrorCode;
import com.secoo.mall.common.core.exception.BusinessException;
import com.secoo.mall.common.util.json.FastJsonUtil;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.lang3.ArrayUtils;
......
......@@ -3,18 +3,17 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>dubbo-starter</artifactId>
<dependencies>
<dependency>
<groupId>com.secoo.mall</groupId>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
......
......@@ -3,18 +3,17 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>elasticsearch-starter</artifactId>
<dependencies>
<dependency>
<groupId>com.secoo.mall</groupId>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
......
......@@ -3,9 +3,9 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......@@ -13,9 +13,8 @@
<dependencies>
<dependency>
<groupId>com.secoo.mall</groupId>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
......
......@@ -3,9 +3,9 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -3,9 +3,9 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......@@ -13,14 +13,12 @@
<dependencies>
<dependency>
<groupId>com.secoo.mall</groupId>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.secoo.mall</groupId>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
......
......@@ -3,18 +3,17 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>openfeign-starter</artifactId>
<dependencies>
<dependency>
<groupId>com.secoo.mall</groupId>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
......
......@@ -3,9 +3,9 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......@@ -13,9 +13,8 @@
<dependencies>
<dependency>
<groupId>com.secoo.mall</groupId>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
......
......@@ -3,9 +3,9 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -3,9 +3,9 @@
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">
<parent>
<artifactId>mall-common</artifactId>
<groupId>com.secoo.mall</groupId>
<version>1.0.2.1009-DEV-SNAPSHOT</version>
<artifactId>matrix</artifactId>
<groupId>com.secoo.matrix</groupId>
<version>0.1-DEV-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
......@@ -13,13 +13,33 @@
<dependencies>
<dependency>
<groupId>com.secoo.mall</groupId>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.secoo.matrix</groupId>
<artifactId>common-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- swagger2-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
</dependency>
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>swagger-bootstrap-ui</artifactId>
</dependency>
<dependency>
<groupId>com.deepoove</groupId>
<artifactId>swagger-dubbo</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package com.secoo.mall.web.config;
import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import com.secoo.mall.common.constant.CommonConstant;
import com.secoo.mall.web.annotation.ApiController;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
......
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