Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
14c26ad6
Commit
14c26ad6
authored
Apr 07, 2019
by
macro
Browse files
pom相关依赖版本升级
parent
892b5e8b
Changes
8
Hide whitespace changes
Inline
Side-by-side
mall-admin/pom.xml
View file @
14c26ad6
...
...
@@ -38,29 +38,24 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-security
</artifactId>
</dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
1.2.0
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
<artifactId>
spring-boot-starter-aop
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-aop
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<!--MyBatis分页插件-->
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
1.2.
3
</version>
<version>
1.2.
10
</version>
</dependency>
<!--Swagger-UI API文档生产工具-->
<dependency>
...
...
mall-demo/pom.xml
View file @
14c26ad6
...
...
@@ -43,19 +43,25 @@
<artifactId>
spring-boot-starter-security
</artifactId>
</dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
1.2.0
</version>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-a
ctuator
</artifactId>
<artifactId>
spring-boot-starter-a
op
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<!--MyBatis分页插件-->
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
1.2.10
</version>
</dependency>
<!--Swagger-UI API文档生产工具-->
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
...
...
@@ -66,11 +72,7 @@
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.6.1
</version>
</dependency>
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
1.2.3
</version>
</dependency>
<!--logstash日志收集插件-->
<dependency>
<groupId>
net.logstash.logback
</groupId>
<artifactId>
logstash-logback-encoder
</artifactId>
...
...
mall-mbg/pom.xml
View file @
14c26ad6
...
...
@@ -23,13 +23,13 @@
<dependency>
<groupId>
org.mybatis
</groupId>
<artifactId>
mybatis
</artifactId>
<version>
3.4.
2
</version>
<version>
3.4.
6
</version>
</dependency>
<!--Mysql数据库驱动-->
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
5.1.46
</version>
<version>
8.0.15
</version>
</dependency>
</dependencies>
...
...
mall-mbg/src/main/resources/generator.properties
View file @
14c26ad6
jdbc.driverClass
=
com.mysql.jdbc.Driver
jdbc.connectionURL
=
jdbc:mysql://localhost:3306/mall
jdbc.connectionURL
=
jdbc:mysql://localhost:3306/mall
?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
jdbc.userId
=
root
jdbc.password
=
root
\ No newline at end of file
mall-mbg/src/main/resources/generatorConfig.xml
View file @
14c26ad6
...
...
@@ -24,6 +24,8 @@
connectionURL=
"${jdbc.connectionURL}"
userId=
"${jdbc.userId}"
password=
"${jdbc.password}"
>
<!--解决mysql驱动升级到8.0后不生成指定数据库代码的问题-->
<property
name=
"nullCatalogMeansCurrent"
value=
"true"
/>
</jdbcConnection>
<javaModelGenerator
targetPackage=
"com.macro.mall.model"
targetProject=
"mall-mbg\src\main\java"
/>
...
...
mall-portal/pom.xml
View file @
14c26ad6
...
...
@@ -52,7 +52,7 @@
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
1.2.
3
</version>
<version>
1.2.
10
</version>
</dependency>
<!--Swagger-UI API文档生产工具-->
<dependency>
...
...
@@ -68,12 +68,7 @@
<!--redis依赖配置-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-cache
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-redis
</artifactId>
<version>
1.3.8.RELEASE
</version>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
</dependency>
<!--集成druid连接池-->
<dependency>
...
...
mall-portal/src/main/resources/application-dev.yml
View file @
14c26ad6
...
...
@@ -38,7 +38,7 @@ spring:
max-wait
:
-1ms
# 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle
:
8
# 连接池中的最大空闲连接
min-idle
:
0
# 连接池中的最小空闲连接
timeout
:
0ms
# 连接超时时间(毫秒)
timeout
:
300
0ms
# 连接超时时间(毫秒)
rabbitmq
:
host
:
localhost
...
...
mall-search/pom.xml
View file @
14c26ad6
...
...
@@ -48,7 +48,7 @@
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
1.2.
3
</version>
<version>
1.2.
10
</version>
</dependency>
<!--Swagger-UI API文档生产工具-->
<dependency>
...
...
Write
Preview
Supports
Markdown
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