Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
matrix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mall
arch
matrix
Commits
0529a43a
Commit
0529a43a
authored
May 23, 2019
by
QIANGLU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复依赖关系
parent
ebd228d1
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
376 additions
and
68 deletions
+376
-68
pom.xml
common-core/pom.xml
+3
-3
pom.xml
common-util/pom.xml
+13
-8
BeanUtil.java
common-util/src/main/java/com/secoo/mall/common/util/bean/BeanUtil.java
+0
-2
pom.xml
dubbo-starter/pom.xml
+4
-5
pom.xml
elasticsearch-starter/pom.xml
+4
-5
pom.xml
mongodb-starter/pom.xml
+4
-5
pom.xml
monitor-starter/pom.xml
+3
-3
pom.xml
mybatis-starter/pom.xml
+5
-7
pom.xml
openfeign-starter/pom.xml
+4
-5
pom.xml
pom.xml
+303
-10
pom.xml
redis-starter/pom.xml
+4
-5
pom.xml
rocketmq-starter/pom.xml
+3
-3
pom.xml
web-starter/pom.xml
+26
-5
SwaggerConfig.java
web-starter/src/main/java/com/secoo/mall/web/config/SwaggerConfig.java
+0
-2
No files found.
common-core/pom.xml
View file @
0529a43a
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
common-util/pom.xml
View file @
0529a43a
...
@@ -3,19 +3,15 @@
...
@@ -3,19 +3,15 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
common-util
</artifactId>
<artifactId>
common-util
</artifactId>
<dependencies>
<dependencies>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
common-core
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
commons-beanutils
</groupId>
<groupId>
commons-beanutils
</groupId>
<artifactId>
commons-beanutils
</artifactId>
<artifactId>
commons-beanutils
</artifactId>
...
@@ -24,6 +20,15 @@
...
@@ -24,6 +20,15 @@
<groupId>
commons-io
</groupId>
<groupId>
commons-io
</groupId>
<artifactId>
commons-io
</artifactId>
<artifactId>
commons-io
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
common-core
</artifactId>
</dependency>
<!-- <dependency>
<!-- <dependency>
<groupId>org.codehaus.janino</groupId>
<groupId>org.codehaus.janino</groupId>
<artifactId>commons-compiler</artifactId>
<artifactId>commons-compiler</artifactId>
...
...
common-util/src/main/java/com/secoo/mall/common/util/bean/BeanUtil.java
View file @
0529a43a
package
com
.
secoo
.
mall
.
common
.
util
.
bean
;
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
com.secoo.mall.common.util.json.FastJsonUtil
;
import
org.apache.commons.beanutils.BeanUtils
;
import
org.apache.commons.beanutils.BeanUtils
;
import
org.apache.commons.lang3.ArrayUtils
;
import
org.apache.commons.lang3.ArrayUtils
;
...
...
dubbo-starter/pom.xml
View file @
0529a43a
...
@@ -3,18 +3,17 @@
...
@@ -3,18 +3,17 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
dubbo-starter
</artifactId>
<artifactId>
dubbo-starter
</artifactId>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<artifactId>
common-core
</artifactId>
<artifactId>
common-core
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<groupId>
org.apache.dubbo
</groupId>
...
...
elasticsearch-starter/pom.xml
View file @
0529a43a
...
@@ -3,18 +3,17 @@
...
@@ -3,18 +3,17 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
elasticsearch-starter
</artifactId>
<artifactId>
elasticsearch-starter
</artifactId>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<artifactId>
common-core
</artifactId>
<artifactId>
common-core
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
...
mongodb-starter/pom.xml
View file @
0529a43a
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -13,9 +13,8 @@
...
@@ -13,9 +13,8 @@
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<artifactId>
common-core
</artifactId>
<artifactId>
common-core
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
...
monitor-starter/pom.xml
View file @
0529a43a
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
mybatis-starter/pom.xml
View file @
0529a43a
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -13,14 +13,12 @@
...
@@ -13,14 +13,12 @@
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<artifactId>
common-core
</artifactId>
<artifactId>
common-core
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<artifactId>
common-util
</artifactId>
<artifactId>
common-util
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<groupId>
com.baomidou
</groupId>
...
...
openfeign-starter/pom.xml
View file @
0529a43a
...
@@ -3,18 +3,17 @@
...
@@ -3,18 +3,17 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
openfeign-starter
</artifactId>
<artifactId>
openfeign-starter
</artifactId>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<artifactId>
common-util
</artifactId>
<artifactId>
common-util
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<groupId>
org.springframework.cloud
</groupId>
...
...
pom.xml
View file @
0529a43a
...
@@ -4,15 +4,12 @@
...
@@ -4,15 +4,12 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
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>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
com.secoo.matrix
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix
</artifactId>
<artifactId>
mall-parent
</artifactId>
<version>
0.1-DEV-SNAPSHOT
</version>
<version>
1.0.2.1009-DEV-SNAPSHOT
</version>
</parent>
<artifactId>
mall-common
</artifactId>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<modules>
<modules>
<module>
common-core
</module>
<module>
common-core
</module>
<module>
common-util
</module>
<module>
common-util
</module>
...
@@ -27,10 +24,305 @@
...
@@ -27,10 +24,305 @@
<module>
rocketmq-starter
</module>
<module>
rocketmq-starter
</module>
</modules>
</modules>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.1.4.RELEASE
</version>
</parent>
<properties>
<java.version>
1.8
</java.version>
<dubbo.version>
2.7.1
</dubbo.version>
<matrix.version>
0.1-DEV-SNAPSHOT
</matrix.version>
</properties>
<build>
<finalName>
${project.artifactId}
</finalName>
</build>
<profiles>
<profile>
<id>
dev
</id>
<properties>
<ver_type>
-DEV-SNAPSHOT
</ver_type>
<repo_id>
secoo-dev
</repo_id>
<repo_name>
secoo-dev-repository
</repo_name>
<repo_url>
nexus.secoo.com:8081/nexus/content/repositories/secoo-hosted-dev/
</repo_url>
</properties>
<distributionManagement>
<repository>
<id>
${repo_id}
</id>
<name>
${repo_name}
</name>
<url>
http://secoo-dev:secoo-dev@${repo_url}
</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>
test
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<ver_type>
-SNAPSHOT
</ver_type>
<repo_id>
secoo-test
</repo_id>
<repo_name>
secoo-test-repository
</repo_name>
<repo_url>
nexus.secoo.com:8081/nexus/content/repositories/secoo-hosted-test/
</repo_url>
</properties>
<distributionManagement>
<repository>
<id>
${repo_id}
</id>
<name>
${repo_name}
</name>
<url>
http://secoo-test:secoo-test@${repo_url}
</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>
pro
</id>
<properties>
<ver_type>
.RELEASE
</ver_type>
<repo_id>
secoo-pro
</repo_id>
<repo_name>
secoo-pro-repository
</repo_name>
<repo_url>
nexus.secoo.com:8081/nexus/content/repositories/secoo-hosted-pro/
</repo_url>
</properties>
<distributionManagement>
<repository>
<id>
${repo_id}
</id>
<name>
${repo_name}
</name>
<url>
http://secoo-pro:secoo-PRO@${repo_url}
</url>
</repository>
</distributionManagement>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
common-core
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
common-util
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
redis-starter
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
mybatis-starter
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
mongodb-starter
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
elasticsearch-starter
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
dubbo-starter
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
web-starter
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
rocketmq-starter
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
openfeign-starter
</artifactId>
<version>
${matrix.version}
</version>
</dependency>
<!--spring cloud-->
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-dependencies
</artifactId>
<version>
Greenwich.RELEASE
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
<version>
3.4
</version>
</dependency>
<dependency>
<groupId>
commons-beanutils
</groupId>
<artifactId>
commons-beanutils
</artifactId>
<version>
1.9.3
</version>
</dependency>
<dependency>
<groupId>
commons-collections
</groupId>
<artifactId>
commons-collections
</artifactId>
<version>
3.2.1
</version>
</dependency>
<dependency>
<groupId>
commons-io
</groupId>
<artifactId>
commons-io
</artifactId>
<version>
2.6
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<version>
1.2.52
</version>
</dependency>
<dependency>
<groupId>
com.esotericsoftware
</groupId>
<artifactId>
kryo
</artifactId>
<version>
4.0.2
</version>
</dependency>
<dependency>
<groupId>
com.googlecode.log4jdbc
</groupId>
<artifactId>
log4jdbc
</artifactId>
<version>
1.2
</version>
</dependency>
<dependency>
<groupId>
com.lmax
</groupId>
<artifactId>
disruptor
</artifactId>
<version>
3.4.2
</version>
</dependency>
<dependency>
<groupId>
joda-time
</groupId>
<artifactId>
joda-time
</artifactId>
<version>
2.10
</version>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<version>
3.1.0
</version>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
5.1.47
</version>
</dependency>
<!-- Aapche Dubbo -->
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
<version>
${dubbo.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo
</artifactId>
<version>
${dubbo.version}
</version>
<exclusions>
<exclusion>
<groupId>
org.springframework
</groupId>
<artifactId>
spring
</artifactId>
</exclusion>
<exclusion>
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
</exclusion>
<exclusion>
<groupId>
log4j
</groupId>
<artifactId>
log4j
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--swagger-->
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
2.9.2
</version>
<exclusions>
<exclusion>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-models
</artifactId>
</exclusion>
<exclusion>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-annotations
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-models
</artifactId>
<version>
1.5.22
</version>
</dependency>
<dependency>
<groupId>
com.github.xiaoymin
</groupId>
<artifactId>
swagger-bootstrap-ui
</artifactId>
<version>
1.9.3
</version>
</dependency>
<dependency>
<groupId>
com.deepoove
</groupId>
<artifactId>
swagger-dubbo
</artifactId>
<version>
2.0.1
</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>
${project.artifactId}-${matrix.version}
</finalName>
<pluginManagement>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<fork>
true
</fork>
<mainClass>
com.secoo.matrix.Application
</mainClass>
<profiles>
<profile>
local
</profile>
<profile>
dev
</profile>
<profile>
test
</profile>
<profile>
prod
</profile>
</profiles>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.18.1
</version>
<configuration>
<skipTests>
true
</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.6.1
</version>
<configuration>
<source>
${java.version}
</source>
<target>
${java.version}
</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<resources>
<resource>
<directory>
${project.basedir}/boot
</directory>
<targetPath>
..
</targetPath>
</resource>
<resource>
<directory>
src/main/java
</directory>
<includes>
<include>
**/*.xml
</include>
</includes>
<filtering>
false
</filtering>
</resource>
<resource>
<directory>
${project.basedir}/src/main/resources
</directory>
<filtering>
true
</filtering>
</resource>
</resources>
</build>
</project>
</project>
\ No newline at end of file
redis-starter/pom.xml
View file @
0529a43a
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -13,9 +13,8 @@
...
@@ -13,9 +13,8 @@
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<artifactId>
common-core
</artifactId>
<artifactId>
common-core
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
...
rocketmq-starter/pom.xml
View file @
0529a43a
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
web-starter/pom.xml
View file @
0529a43a
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
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"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<artifactId>
ma
ll-common
</artifactId>
<artifactId>
ma
trix
</artifactId>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<version>
1.0.2.1009
-DEV-SNAPSHOT
</version>
<version>
0.1
-DEV-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
@@ -13,13 +13,33 @@
...
@@ -13,13 +13,33 @@
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.secoo.ma
ll
</groupId>
<groupId>
com.secoo.ma
trix
</groupId>
<artifactId>
common-util
</artifactId>
<artifactId>
common-util
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
com.secoo.matrix
</groupId>
<artifactId>
common-core
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
</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>
</dependencies>
</project>
</project>
\ No newline at end of file
web-starter/src/main/java/com/secoo/mall/web/config/SwaggerConfig.java
View file @
0529a43a
package
com
.
secoo
.
mall
.
web
.
config
;
package
com
.
secoo
.
mall
.
web
.
config
;
import
com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI
;
import
com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI
;
import
com.secoo.mall.common.constant.CommonConstant
;
import
com.secoo.mall.web.annotation.ApiController
;
import
com.secoo.mall.web.annotation.ApiController
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Profile
;
import
springfox.documentation.builders.ApiInfoBuilder
;
import
springfox.documentation.builders.ApiInfoBuilder
;
import
springfox.documentation.builders.PathSelectors
;
import
springfox.documentation.builders.PathSelectors
;
import
springfox.documentation.builders.RequestHandlerSelectors
;
import
springfox.documentation.builders.RequestHandlerSelectors
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment