<?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>cn.iocoder.boot</groupId> <artifactId>yudao-framework</artifactId> <version>${revision}</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>yudao-spring-boot-starter-excel</artifactId> <packaging>jar</packaging> <name>${project.artifactId}</name> <description>Excel 拓展</description> <url>https://github.com/YunaiV/ruoyi-vue-pro</url> <dependencies> <dependency> <groupId>cn.iocoder.boot</groupId> <artifactId>yudao-common</artifactId> </dependency> <!-- 业务组件 --> <dependency> <groupId>cn.iocoder.boot</groupId> <artifactId>yudao-spring-boot-starter-biz-dict</artifactId> <optional>true</optional> <!-- 如果希望使用 @DictFormat 注解,需要引入该依赖 --> </dependency> <!-- Web 相关 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <scope>provided</scope> <!-- 设置为 provided,只有 ExcelUtils 使用 --> </dependency> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <scope>provided</scope> <!-- 设置为 provided,只有 ExcelUtils 使用 --> </dependency> <!-- 工具类相关 --> <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> </dependency> </dependencies> </project>