给迷你服务去掉一些依赖,缩减打包大小
This commit is contained in:
@@ -38,11 +38,73 @@
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- JeeSite -->
|
||||
<!-- Framework --><!--suppress VulnerableLibrariesLocal -->
|
||||
<dependency>
|
||||
<groupId>com.jeesite</groupId>
|
||||
<artifactId>jeesite-framework</artifactId>
|
||||
<version>${project.parent.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.quartz-scheduler</groupId>
|
||||
<artifactId>quartz</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.atomikos</groupId>
|
||||
<artifactId>transactions-jdbc</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.atomikos</groupId>
|
||||
<artifactId>transactions-jta</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-scratchpad</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>net.sf.jmimemagic</groupId>
|
||||
<artifactId>jmimemagic</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>net.coobird</groupId>
|
||||
<artifactId>thumbnailator</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.google.zxing</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.google.zxing</groupId>
|
||||
<artifactId>javase</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.belerweb</groupId>
|
||||
<artifactId>pinyin4j</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.bladejava</groupId>
|
||||
<artifactId>blade-patchca</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk18on</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>com.fasterxml.woodstox</groupId>
|
||||
<artifactId>woodstox-core</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
@@ -27,23 +27,9 @@ server:
|
||||
servlet:
|
||||
context-path: /js
|
||||
register-default-servlet: false
|
||||
# encoding.enabled: true
|
||||
tomcat:
|
||||
uri-encoding: UTF-8
|
||||
# 表单请求数据的最大大小
|
||||
max-http-form-post-size: 20MB
|
||||
# # 客户端发送请求参数个数限制
|
||||
# max-parameter-count: 10000
|
||||
# # 文件上传的表单请求参数个数限制
|
||||
# max-part-count: 50
|
||||
# # 进程的最大连接数
|
||||
# max-connections: 8192
|
||||
# # 连接数满后的排队个数
|
||||
# accept-count: 100
|
||||
# # 线程数最大和最小个数
|
||||
# threads:
|
||||
# max: 200
|
||||
# min-spare: 10
|
||||
|
||||
# 当 Nginx 为 https,tomcat 为 http 时,设置该选项为 true
|
||||
schemeHttps: false
|
||||
@@ -52,16 +38,13 @@ server:
|
||||
#========== Database sttings ==========#
|
||||
#======================================#
|
||||
|
||||
# 数据库连接(默认关闭,如果和 web.core.enabled 同时开启可使用如下功能:
|
||||
# 配置参数:http://127.0.0.1:8980/js/a/sys/config/list
|
||||
# 模块管理:http://127.0.0.1:8980/js/a/sys/module/list
|
||||
# 字典管理:http://127.0.0.1:8980/js/a/sys/dictType/list
|
||||
# 数据库连接
|
||||
jdbc:
|
||||
|
||||
# # Mysql 数据库配置
|
||||
# Mysql 数据库配置
|
||||
# type: mysql
|
||||
# driver: com.mysql.cj.jdbc.Driver
|
||||
# url: jdbc:mysql://127.0.0.1:3306/jeesite_mini?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
|
||||
# url: jdbc:mysql://127.0.0.1:3306/jeesite_v5?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
|
||||
# username: root
|
||||
# password: 123456
|
||||
# testSql: SELECT 1
|
||||
@@ -130,7 +113,7 @@ adminPath: /a
|
||||
# 前端基础路径
|
||||
frontPath: /f
|
||||
|
||||
# 配置相关功能(参数、模块、字典)
|
||||
# 基础配置(参数、模块、字典)
|
||||
config:
|
||||
enabled: false
|
||||
|
||||
@@ -155,31 +138,14 @@ gen:
|
||||
state:
|
||||
enabled: true
|
||||
|
||||
# Web 相关
|
||||
# 核心功能 Controller 开关
|
||||
web:
|
||||
|
||||
# MVC拦截器(访问日志和手机视图)
|
||||
interceptor:
|
||||
log:
|
||||
enabled: false
|
||||
mobile:
|
||||
enabled: false
|
||||
|
||||
# 核心模块的Web功能开启
|
||||
core:
|
||||
enabled: false
|
||||
|
||||
# 在线API文档
|
||||
springdoc:
|
||||
api-docs:
|
||||
enabled: true
|
||||
swagger-ui:
|
||||
enabled: true
|
||||
|
||||
# 文件上传
|
||||
file:
|
||||
enabled: false
|
||||
isFileStreamDown: false
|
||||
|
||||
# 消息提醒中心
|
||||
msg:
|
||||
|
||||
Reference in New Issue
Block a user