pom.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>org.dromara</groupId>
  7. <artifactId>ruoyi-common</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ruoyi-common-excel</artifactId>
  12. <description>
  13. ruoyi-common-excel
  14. </description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.dromara</groupId>
  18. <artifactId>ruoyi-common-json</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>cn.idev.excel</groupId>
  22. <artifactId>fastexcel</artifactId>
  23. </dependency>
  24. <!--
  25. 强制升级 commons-compress 到 1.27.1:
  26. fastexcel 依赖的 poi-ooxml 5.4.1 调用了 ZipArchiveOutputStream.putArchiveEntry(ZipArchiveEntry),
  27. 该方法在 commons-compress 1.26.0+ 才提供;如果被 minio 等传递依赖仲裁到旧版本(如 1.24.0)
  28. 会导致 Excel 导出时报 NoSuchMethodError,从而在控制器侧表现为 HTTP 500。
  29. -->
  30. <dependency>
  31. <groupId>org.apache.commons</groupId>
  32. <artifactId>commons-compress</artifactId>
  33. <version>1.27.1</version>
  34. </dependency>
  35. </dependencies>
  36. </project>