| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?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>
- <groupId>org.dromara</groupId>
- <artifactId>ruoyi-common</artifactId>
- <version>${revision}</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>ruoyi-common-excel</artifactId>
- <description>
- ruoyi-common-excel
- </description>
- <dependencies>
- <dependency>
- <groupId>org.dromara</groupId>
- <artifactId>ruoyi-common-json</artifactId>
- </dependency>
- <dependency>
- <groupId>cn.idev.excel</groupId>
- <artifactId>fastexcel</artifactId>
- </dependency>
- <!--
- 强制升级 commons-compress 到 1.27.1:
- fastexcel 依赖的 poi-ooxml 5.4.1 调用了 ZipArchiveOutputStream.putArchiveEntry(ZipArchiveEntry),
- 该方法在 commons-compress 1.26.0+ 才提供;如果被 minio 等传递依赖仲裁到旧版本(如 1.24.0)
- 会导致 Excel 导出时报 NoSuchMethodError,从而在控制器侧表现为 HTTP 500。
- -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-compress</artifactId>
- <version>1.27.1</version>
- </dependency>
- </dependencies>
- </project>
|