From f3b59f5316f44dc81543b293ca9b79012c9d7fc6 Mon Sep 17 00:00:00 2001 From: Haroon Khan Date: Sat, 19 Feb 2022 19:41:44 +0000 Subject: [PATCH] [JAVA-10080] Add plugin for filtering xls resources --- apache-poi/pom.xml | 18 ++++++++++++++++++ .../cellstyle/CellStyleBorderHandlerTest.xlsx | Bin 0 -> 7500 bytes .../cellstyle/CellBorderHandlerUnitTest.java | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 apache-poi/src/main/resources/cellstyle/CellStyleBorderHandlerTest.xlsx diff --git a/apache-poi/pom.xml b/apache-poi/pom.xml index 1a0f77b025..546eedec5b 100644 --- a/apache-poi/pom.xml +++ b/apache-poi/pom.xml @@ -32,9 +32,27 @@ + + + + org.apache.maven.plugins + maven-resources-plugin + ${maven.resources.plugin.version} + + UTF-8 + + xlsx + xls + + + + + + 5.2.0 1.0.6 + 3.2.0 \ No newline at end of file diff --git a/apache-poi/src/main/resources/cellstyle/CellStyleBorderHandlerTest.xlsx b/apache-poi/src/main/resources/cellstyle/CellStyleBorderHandlerTest.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..29f128211b6b9587a1fa5b7bc6e4401883d05a04 GIT binary patch literal 7500 zcmbt(1yCH@*7e{L2<|p$a0?bJ!QI^*1|5RC43OXi*Fl0qaCaXd1PLwyf&~p02oUV! z-TT+OFI4^Y-FLs~>FKKOsk8d5eQNE!*HKkKK*R?C0H_ZqH2~!YAq4~u0O*1T0I&db z051m)Pq2%x6V`#CC<}(+LzgWWl=4xE6S-k{@h+G{0sxMtbN0)A&F_7V`a_hWo9V6?M zbh&gZ5Nj3O>6}vQrcZj5yQL$06VOEAFHF_(@;S3->6ZVP8Lgzch;F*JXi&c5c7AfY zsc-~7jV#nB$RP$)wpUk;OOZpucS1|vxv$!zQ-%D5eVh&_`je&TIWew{w&Txd+xfzz zF21EN+2FPPC3`-4QTE21@?r1eV1C;#sGGpv5TcA?{wYRz_X3SZjYrCloD(8IwYA!V0^T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