fix build
This commit is contained in:
parent
c06cbd9925
commit
d50b053c6a
@ -46,6 +46,13 @@
|
||||
<artifactId>book-service</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.imooc</groupId>
|
||||
<artifactId>book-common</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>knife4j-spring-boot-starter</artifactId>
|
||||
|
@ -44,3 +44,17 @@ pagehelper:
|
||||
logging:
|
||||
level:
|
||||
root: info
|
||||
|
||||
|
||||
|
||||
# MinIO 配置
|
||||
minio:
|
||||
endpoint: http://43.143.227.203:29000 # MinIO服务地址
|
||||
fileHost: http://43.143.227.203:29000 # 文件地址host
|
||||
bucketName: bucket # 存储桶bucket名称
|
||||
accessKey: 5Zo50S9AHlszNjIqnHI1 # 用户名
|
||||
secretKey: 6QOoW0QL7WR2tYId5b3WcajJVmNnnMaFl8CGjKsD # 密码
|
||||
imgSize: 1024 # 图片大小限制,单位:m
|
||||
fileSize: 1024 # 文件大小限制,单位:m
|
||||
|
||||
|
||||
|
@ -148,5 +148,15 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>**/*.properties</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
|
||||
</project>
|
3
pom.xml
3
pom.xml
@ -176,7 +176,7 @@
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<!-- 分离资源文件 -->
|
||||
<!-- 分离资源文件 开发环境请注释此段代码 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
@ -199,6 +199,7 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- 开发环境请注释此段代码 -->
|
||||
<!-- 分离第三方依赖包 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
Loading…
x
Reference in New Issue
Block a user