Просмотр исходного кода

remove 移除无用poi依赖 使用 easyexcel 自带的

疯狂的狮子li 4 лет назад
Родитель
Сommit
c73b4015ed
2 измененных файлов с 0 добавлено и 24 удалено
  1. 0 18
      pom.xml
  2. 0 6
      ruoyi-common/ruoyi-common-excel/pom.xml

+ 0 - 18
pom.xml

@@ -28,7 +28,6 @@
         <dynamic-ds.version>3.5.1</dynamic-ds.version>
         <velocity.version>2.3</velocity.version>
         <fastjson.version>1.2.83</fastjson.version>
-        <poi.version>4.1.2</poi.version>
         <commons-compress.version>1.21</commons-compress.version>
         <easyexcel.version>3.1.0</easyexcel.version>
         <hutool.version>5.8.1</hutool.version>
@@ -185,13 +184,6 @@
                 <version>${p6spy.version}</version>
             </dependency>
 
-            <!-- excel工具 -->
-            <dependency>
-                <groupId>org.apache.poi</groupId>
-                <artifactId>poi-ooxml</artifactId>
-                <version>${poi.version}</version>
-            </dependency>
-
             <!-- 修复poi漏洞 -->
             <dependency>
                 <groupId>org.apache.commons</groupId>
@@ -203,16 +195,6 @@
                 <groupId>com.alibaba</groupId>
                 <artifactId>easyexcel</artifactId>
                 <version>${easyexcel.version}</version>
-                <exclusions>
-                    <exclusion>
-                        <groupId>org.apache.poi</groupId>
-                        <artifactId>poi</artifactId>
-                    </exclusion>
-                    <exclusion>
-                        <groupId>org.apache.poi</groupId>
-                        <artifactId>poi-ooxml-schemas</artifactId>
-                    </exclusion>
-                </exclusions>
             </dependency>
 
             <!-- 代码生成使用模板 -->

+ 0 - 6
ruoyi-common/ruoyi-common-excel/pom.xml

@@ -22,12 +22,6 @@
             <artifactId>ruoyi-common-core</artifactId>
         </dependency>
 
-        <!-- excel工具 -->
-        <dependency>
-            <groupId>org.apache.poi</groupId>
-            <artifactId>poi-ooxml</artifactId>
-        </dependency>
-
         <dependency>
             <groupId>com.alibaba</groupId>
             <artifactId>easyexcel</artifactId>