添加poi依赖

This commit is contained in:
Guava
2023-06-21 11:33:55 +08:00
parent d416e2bc71
commit 6d90fcd8c2

View File

@@ -1,161 +1,166 @@
<?xml version="1.0" encoding="UTF-8"?> <?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" <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.3</version> <version>2.6.3</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>com.xboe</groupId> <groupId>com.xboe</groupId>
<artifactId>boe-server-all</artifactId> <artifactId>boe-server-all</artifactId>
<version>2.0.0</version> <version>2.0.0</version>
<name>boe-server-all</name> <name>boe-server-all</name>
<description>BOE 项目所有功能启动工程,用于开发</description> <description>BOE 项目所有功能启动工程,用于开发</description>
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>cn.hutool</groupId> <groupId>org.apache.poi</groupId>
<artifactId>hutool-all</artifactId> <artifactId>poi-ooxml</artifactId>
<version>5.8.16</version> <version>5.2.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.xboe</groupId> <groupId>cn.hutool</groupId>
<artifactId>xboe-api</artifactId> <artifactId>hutool-all</artifactId>
<version>1.0.0</version> <version>5.8.16</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.xboe</groupId> <groupId>com.xboe</groupId>
<artifactId>xboe-module-scorm</artifactId> <artifactId>xboe-api</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.xboe</groupId> <groupId>com.xboe</groupId>
<artifactId>xboe-core</artifactId> <artifactId>xboe-module-scorm</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.xboe</groupId> <groupId>com.xboe</groupId>
<artifactId>xboe-redis</artifactId> <artifactId>xboe-core</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.xboe</groupId> <groupId>com.xboe</groupId>
<artifactId>xboe-module-course</artifactId> <artifactId>xboe-redis</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.xboe</groupId> <groupId>com.xboe</groupId>
<artifactId>xboe-module-idconfig</artifactId> <artifactId>xboe-module-course</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
</dependency> </dependency>
<dependency>
<dependency> <groupId>com.xboe</groupId>
<groupId>com.xboe</groupId> <artifactId>xboe-module-idconfig</artifactId>
<artifactId>xboe-module-es</artifactId> <version>1.0.0</version>
<version>1.0.0</version> </dependency>
</dependency>
<dependency>
<groupId>it.sauronsoftware</groupId>
<artifactId>jave</artifactId>
<version>1.0.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/libs/jave-1.0.2.jar</systemPath>
</dependency>
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>3.18.3</version>
</dependency>
<!--
<dependency>
<groupId>org.bitbucket.b_c</groupId>
<artifactId>jose4j</artifactId>
<version>0.7.9</version>
</dependency>
-->
<!-- apache commons -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>com.xboe</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId> <artifactId>xboe-module-es</artifactId>
</dependency> <version>1.0.0</version>
<dependency> </dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
</dependency>
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>it.sauronsoftware</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>jave</artifactId>
<version>5.1.27</version> <version>1.0.2</version>
<!-- <scope>runtime</scope> --> <scope>system</scope>
</dependency> <systemPath>${project.basedir}/src/main/resources/libs/jave-1.0.2.jar</systemPath>
<dependency> </dependency>
<groupId>org.projectlombok</groupId> <dependency>
<artifactId>lombok</artifactId> <groupId>com.auth0</groupId>
<optional>true</optional> <artifactId>java-jwt</artifactId>
</dependency> <version>3.18.3</version>
<dependency> </dependency>
<groupId>org.springframework.boot</groupId> <!--
<artifactId>spring-boot-starter-test</artifactId> <dependency>
<scope>test</scope> <groupId>org.bitbucket.b_c</groupId>
</dependency> <artifactId>jose4j</artifactId>
<version>0.7.9</version>
</dependency>
-->
<!-- apache commons -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<!-- 验证码 --> <dependency>
<dependency> <groupId>org.springframework.boot</groupId>
<groupId>com.github.whvcse</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId>
<artifactId>easy-captcha</artifactId> </dependency>
<version>1.6.2</version> <dependency>
</dependency> <groupId>org.springframework.boot</groupId>
<!--poi--> <artifactId>spring-boot-starter-data-redis</artifactId>
<dependency> </dependency>
<groupId>org.apache.poi</groupId> <dependency>
<artifactId>poi</artifactId> <groupId>org.springframework.boot</groupId>
<version>4.0.1</version> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.fasterxml.jackson.datatype</groupId> <groupId>mysql</groupId>
<artifactId>jackson-datatype-jsr310</artifactId> <artifactId>mysql-connector-java</artifactId>
</dependency> <version>5.1.27</version>
<dependency> <!-- <scope>runtime</scope> -->
<groupId>org.apache.httpcomponents</groupId> </dependency>
<artifactId>httpclient</artifactId> <dependency>
</dependency> <groupId>org.projectlombok</groupId>
<dependency> <artifactId>lombok</artifactId>
<groupId>javax.mail</groupId> <optional>true</optional>
<artifactId>javax.mail-api</artifactId> </dependency>
<version>1.5.6</version> <dependency>
</dependency> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency> <!-- 验证码 -->
<groupId>org.apache.commons</groupId> <dependency>
<artifactId>commons-email</artifactId> <groupId>com.github.whvcse</groupId>
<version>1.4</version> <artifactId>easy-captcha</artifactId>
</dependency> <version>1.6.2</version>
</dependency>
<!--poi-->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>4.0.1</version>
</dependency>
<!-- aspose --> <dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<version>1.5.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email</artifactId>
<version>1.4</version>
</dependency>
<!-- aspose -->
<dependency> <dependency>
<groupId>com.aspose</groupId> <groupId>com.aspose</groupId>
<artifactId>slides</artifactId> <artifactId>slides</artifactId>
@@ -163,28 +168,28 @@
<scope>system</scope> <scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/aspose/aspose.slides-15.9.0.jar</systemPath> <systemPath>${project.basedir}/src/main/resources/aspose/aspose.slides-15.9.0.jar</systemPath>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.aspose</groupId> <groupId>com.aspose</groupId>
<artifactId>words</artifactId> <artifactId>words</artifactId>
<version>15.8.0</version> <version>15.8.0</version>
<scope>system</scope> <scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/aspose/aspose-words-15.8.0.jar</systemPath> <systemPath>${project.basedir}/src/main/resources/aspose/aspose-words-15.8.0.jar</systemPath>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.aspose</groupId> <groupId>com.aspose</groupId>
<artifactId>cells</artifactId> <artifactId>cells</artifactId>
<version>18.11</version> <version>18.11</version>
<scope>system</scope> <scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/aspose/aspose-cells-java-18.11.jar</systemPath> <systemPath>${project.basedir}/src/main/resources/aspose/aspose-cells-java-18.11.jar</systemPath>
</dependency> </dependency>
<!--加密配置文件--> <!--加密配置文件-->
<dependency> <dependency>
<groupId>com.github.ulisesbocchio</groupId> <groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId> <artifactId>jasypt-spring-boot-starter</artifactId>
<version>3.0.3</version> <version>3.0.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.elasticsearch.client</groupId> <groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId> <artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>7.9.0</version> <version>7.9.0</version>
@@ -200,27 +205,27 @@
<version>7.9.0</version> <version>7.9.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<resources> <resources>
<resource> <resource>
<filtering>true</filtering> <filtering>true</filtering>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<includes> <includes>
<include>application-${profileActive}.properties</include> <include>application-${profileActive}.properties</include>
<include>application.properties</include> <include>application.properties</include>
</includes> </includes>
</resource> </resource>
<resource> <resource>
<filtering>false</filtering> <filtering>false</filtering>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<excludes> <excludes>
<exclude>*.properties</exclude> <exclude>*.properties</exclude>
</excludes> </excludes>
</resource> </resource>
</resources> </resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<!-- <version>3.8.0</version> --> <!-- <version>3.8.0</version> -->
@@ -229,48 +234,48 @@
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<excludes> <excludes>
<exclude> <exclude>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
</exclude> </exclude>
</excludes> </excludes>
<includeSystemScope>true</includeSystemScope> <includeSystemScope>true</includeSystemScope>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles> <profiles>
<profile> <profile>
<id>pro</id> <id>pro</id>
<properties> <properties>
<profileActive>pro</profileActive> <profileActive>pro</profileActive>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>pre</id> <id>pre</id>
<properties> <properties>
<profileActive>pre</profileActive> <profileActive>pre</profileActive>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>test</id> <id>test</id>
<properties> <properties>
<profileActive>test</profileActive> <profileActive>test</profileActive>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>dev</id> <id>dev</id>
<properties> <properties>
<profileActive>dev</profileActive> <profileActive>dev</profileActive>
</properties> </properties>
<activation> <activation>
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
</profile> </profile>
</profiles> </profiles>
</project> </project>