2019-01-19 15:31:26 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-business</artifactId>
|
2023-12-17 20:47:16 +08:00
|
|
|
<version>6.0.0</version>
|
2019-01-19 15:31:26 +08:00
|
|
|
</parent>
|
|
|
|
|
<artifactId>file-center</artifactId>
|
|
|
|
|
<description>文件中心</description>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- 公共实体类模块 -->
|
2019-01-22 14:12:30 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-config</artifactId>
|
|
|
|
|
</dependency>
|
2023-03-23 22:01:19 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-log-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
2019-01-19 15:31:26 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-db-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
2021-08-08 22:13:11 +08:00
|
|
|
<artifactId>zlt-loadbalancer-spring-boot-starter</artifactId>
|
2019-01-19 15:31:26 +08:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
2019-01-22 14:12:30 +08:00
|
|
|
<artifactId>zlt-sentinel-spring-boot-starter</artifactId>
|
2019-01-19 15:31:26 +08:00
|
|
|
</dependency>
|
2021-02-17 22:19:30 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-oss-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
2019-01-19 15:31:26 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
2019-08-02 17:24:46 +08:00
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
2019-01-19 15:31:26 +08:00
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
</dependency>
|
2019-10-16 18:00:56 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
2019-01-19 15:31:26 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- swagger -->
|
|
|
|
|
<dependency>
|
2023-11-24 17:28:19 +08:00
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
|
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
|
2019-01-19 15:31:26 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
</dependency>
|
2019-03-04 09:08:02 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
|
|
|
</dependency>
|
2019-04-16 23:45:31 +08:00
|
|
|
|
|
|
|
|
<!-- fastDFS -->
|
2021-04-09 21:51:32 +08:00
|
|
|
<!--<dependency>
|
2019-04-16 23:45:31 +08:00
|
|
|
<groupId>com.github.tobato</groupId>
|
|
|
|
|
<artifactId>fastdfs-client</artifactId>
|
2021-04-09 21:51:32 +08:00
|
|
|
</dependency>-->
|
2025-06-27 10:01:21 +08:00
|
|
|
<!-- aws s3 - 已通过zlt-oss-spring-boot-starter引入,但需要显式添加因为optional=true -->
|
|
|
|
|
<dependency>
|
2021-02-17 22:19:30 +08:00
|
|
|
<groupId>com.amazonaws</groupId>
|
|
|
|
|
<artifactId>aws-java-sdk-s3</artifactId>
|
2025-06-27 10:01:21 +08:00
|
|
|
</dependency>
|
2025-01-20 09:29:33 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
<version>2.3.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
|
<artifactId>activation</artifactId>
|
|
|
|
|
<version>1.1.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- no more than 2.3.3-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
|
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
|
|
|
<version>2.3.3</version>
|
2021-04-09 21:51:32 +08:00
|
|
|
</dependency>
|
2021-02-17 22:19:30 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
|
</dependency>
|
2025-01-13 10:54:30 +08:00
|
|
|
|
2025-07-14 15:34:28 +08:00
|
|
|
<!-- 阿里云CDN SDK -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
|
<artifactId>aliyun-java-sdk-cdn</artifactId>
|
|
|
|
|
<version>3.0.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
|
|
<version>4.6.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2019-01-19 15:31:26 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2019-02-27 14:35:28 +08:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<imageName>${docker.image.prefix}/${project.artifactId}</imageName>
|
|
|
|
|
<imageTags>
|
|
|
|
|
<imageTag>${project.version}</imageTag>
|
|
|
|
|
<imageTag>latest</imageTag>
|
|
|
|
|
</imageTags>
|
|
|
|
|
<forceTags>true</forceTags>
|
|
|
|
|
<baseImage>${docker.baseImage}</baseImage>
|
|
|
|
|
<volumes>${docker.volumes}</volumes>
|
|
|
|
|
<env>
|
|
|
|
|
<JAVA_OPTS>${docker.java.opts}</JAVA_OPTS>
|
|
|
|
|
</env>
|
2019-03-23 11:23:06 +08:00
|
|
|
<entryPoint>["sh","-c","java $JAVA_OPTS ${docker.java.security.egd} -jar /${project.build.finalName}.jar"]</entryPoint>
|
2019-02-27 14:35:28 +08:00
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<targetPath>/</targetPath>
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
<include>${project.build.finalName}.jar</include>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2019-01-19 15:31:26 +08:00
|
|
|
</plugins>
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
</build>
|
2025-01-13 10:54:30 +08:00
|
|
|
</project>
|