2025-09-01 11:06:00 +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">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>com.njcn.gather</groupId>
|
|
|
|
|
|
<artifactId>tools</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
|
|
<artifactId>report-generator</artifactId>
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<name>报告生成工具</name>
|
2025-09-09 09:43:44 +08:00
|
|
|
|
<description>基于docx4j的通用Word文档处理工具,支持占位符替换、文档合并、动态表格、图片处理等完整功能</description>
|
2025-09-01 11:06:00 +08:00
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>njcn-common</artifactId>
|
|
|
|
|
|
<version>0.0.1</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>spingboot2.3.12</artifactId>
|
|
|
|
|
|
<version>2.3.12</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-09-09 09:43:44 +08:00
|
|
|
|
<!-- docx4j - 统一的Word文档处理解决方案,支持占位符替换、文档合并、表格操作、图片处理等全功能 -->
|
2025-09-01 11:06:00 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
|
|
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
|
|
|
|
<version>2.3.3</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
|
|
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
|
|
|
|
<version>2.3.3</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.docx4j</groupId>
|
|
|
|
|
|
<artifactId>docx4j</artifactId>
|
|
|
|
|
|
<version>6.1.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Validation API -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- JSON processing - 与detection模块版本保持一致 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
|
<version>2.12.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
|
|
<version>2.12.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
|
|
<version>2.12.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- FastJSON - 与detection模块保持一致 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
|
<version>1.2.83</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- File upload support -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
|
|
<version>1.4</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<excludes>
|
|
|
|
|
|
<exclude>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
</exclude>
|
|
|
|
|
|
</excludes>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|