Merge pull request #11842 from hkhan/JAVA-10080-fix-poi-test
[JAVA-10080] Add plugin for filtering xls resources
This commit is contained in:
commit
ab6c6034d4
|
@ -32,9 +32,27 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<version>${maven.resources.plugin.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<encoding>UTF-8</encoding>
|
||||||
|
<nonFilteredFileExtensions>
|
||||||
|
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
|
||||||
|
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
||||||
|
</nonFilteredFileExtensions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<poi.version>5.2.0</poi.version>
|
<poi.version>5.2.0</poi.version>
|
||||||
<jexcel.version>1.0.6</jexcel.version>
|
<jexcel.version>1.0.6</jexcel.version>
|
||||||
|
<maven.resources.plugin.version>3.2.0</maven.resources.plugin.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
Binary file not shown.
|
@ -12,7 +12,7 @@ import java.nio.file.Paths;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
public class CellBorderHandlerUnitTest {
|
public class CellBorderHandlerUnitTest {
|
||||||
private static final String FILE_NAME = "cellstyle/CellStyleHandlerTest.xlsx";
|
private static final String FILE_NAME = "cellstyle/CellStyleBorderHandlerTest.xlsx";
|
||||||
private static final int SHEET_INDEX = 0;
|
private static final int SHEET_INDEX = 0;
|
||||||
|
|
||||||
private static CellBordersHandler cellBordersHandler;
|
private static CellBordersHandler cellBordersHandler;
|
||||||
|
|
Loading…
Reference in New Issue