2024-08-17 12:11:19 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<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">
|
|
|
|
|
<parent>
|
|
|
|
|
<artifactId>yanzhu</artifactId>
|
|
|
|
|
<groupId>com.yanzhu</groupId>
|
|
|
|
|
<version>3.6.2</version>
|
|
|
|
|
<relativePath>../../pom.xml</relativePath>
|
|
|
|
|
</parent>
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<artifactId>yanzhu-modules-manage</artifactId>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<description>
|
2024-08-19 00:41:01 +08:00
|
|
|
|
yanzhu-modules-manage业务模块
|
2024-08-17 12:11:19 +08:00
|
|
|
|
</description>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- SpringCloud Alibaba Nacos -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba Nacos Config -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba Sentinel -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- SpringBoot Actuator -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Swagger UI -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
|
<version>${swagger.fox.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Apache Velocity -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Mysql Connector -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- YanZhu Common Log -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.yanzhu</groupId>
|
|
|
|
|
<artifactId>yanzhu-common-log</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- YanZhu Common Swagger -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.yanzhu</groupId>
|
|
|
|
|
<artifactId>yanzhu-common-swagger</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-10-10 00:34:39 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
|
<version>4.9.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-08-17 12:11:19 +08:00
|
|
|
|
<!-- YanZhu Common Swagger -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.yanzhu</groupId>
|
|
|
|
|
<artifactId>yanzhu-common-mapper</artifactId>
|
|
|
|
|
<version>3.6.2</version>
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-12-17 22:35:51 +08:00
|
|
|
|
<!--根据word模板生成word文件 开始-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.lowagie</groupId>
|
|
|
|
|
<artifactId>itext</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.lowagie</groupId>
|
|
|
|
|
<artifactId>itext-rtf</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.lowagie</groupId>
|
|
|
|
|
<artifactId>iTextAsian</artifactId>
|
|
|
|
|
<version>1.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.deepoove</groupId>
|
|
|
|
|
<artifactId>poi-tl</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--根据word模板生成word文件 结束-->
|
|
|
|
|
|
|
|
|
|
<!--word文件转化为PDF文件 开始-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-11-09 10:05:00 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aspose</groupId>
|
2024-12-17 22:35:51 +08:00
|
|
|
|
<artifactId>aspose-words</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--word文件转化为PDF文件 结束-->
|
|
|
|
|
|
|
|
|
|
<!--pdf签名使用工具类-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.itextpdf</groupId>
|
|
|
|
|
<artifactId>itextpdf</artifactId>
|
2024-11-09 10:05:00 +08:00
|
|
|
|
</dependency>
|
2024-12-17 22:35:51 +08:00
|
|
|
|
<!--pdf签名使用工具类-->
|
|
|
|
|
|
2024-12-05 00:17:06 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
|
|
<version>1.17.2</version>
|
|
|
|
|
</dependency>
|
2024-12-17 22:35:51 +08:00
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aspose</groupId>
|
|
|
|
|
<artifactId>aspose-tasks</artifactId>
|
|
|
|
|
<version>24.10</version>
|
|
|
|
|
<scope>system</scope>
|
|
|
|
|
<systemPath>${pom.basedir}\libs\aspose-tasks-24.10-jdk17.jar</systemPath>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-08-17 12:11:19 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
2024-08-25 13:54:20 +08:00
|
|
|
|
<build>
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2024-11-09 10:05:00 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
|
|
</configuration>
|
2024-08-25 13:54:20 +08:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- docker-maven-plugin插件(不带Dockerfile文件) -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
<version>1.2.0</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!--用于指定镜像名称-->
|
|
|
|
|
<imageName>${project.build.finalName}</imageName>
|
|
|
|
|
<imageTags>latest</imageTags>
|
|
|
|
|
<!--用于指定基础镜像,相当于Dockerfile中的FROM指令-->
|
|
|
|
|
<baseImage>openjdk:latest</baseImage>
|
|
|
|
|
<!--相当于Dockerfile的ENTRYPOINT指令-->
|
|
|
|
|
<entryPoint>["java", "-jar", "/${project.build.finalName}.jar"]</entryPoint>
|
|
|
|
|
<!--是否跳过docker build-->
|
2024-10-01 16:35:07 +08:00
|
|
|
|
<skipDockerBuild>true</skipDockerBuild>
|
2024-08-25 13:54:20 +08:00
|
|
|
|
<dockerHost>${configuration.docker-two-Host}</dockerHost>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<targetPath>/</targetPath>
|
|
|
|
|
<!--用于指定需要复制的根目录,${project.build.directory}表示target目录-->
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
<!--用于指定需要复制的文件。${project.build.finalName}.jar指的是打包后的jar包文件。-->
|
|
|
|
|
<include>${project.build.finalName}.jar</include>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>build-image</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>build</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
<!--如果不设置resource 会导致application.yml中的@@找不到pom文件中的配置-->
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</build>
|
|
|
|
|
|
2024-08-17 12:11:19 +08:00
|
|
|
|
</project>
|