2020-01-06 19:44:01 -05:00
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-parent</artifactId>
|
2021-01-12 17:40:59 -05:00
|
|
|
<version>5.0.1-SNAPSHOT</version>
|
2021-03-27 10:03:16 -04:00
|
|
|
|
2020-01-06 19:44:01 -05:00
|
|
|
</parent>
|
|
|
|
<artifactId>integration-test</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>Apache POI integration test</name>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2021-03-27 10:03:16 -04:00
|
|
|
<version>${maven.plugin.resources.version}</version>
|
2020-01-06 19:44:01 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-tests</id>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/src/test/java</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
2021-03-27 10:03:16 -04:00
|
|
|
<directory>../../integrationtest/src/test/java</directory>
|
2020-01-06 19:44:01 -05:00
|
|
|
</resource>
|
2020-10-23 18:30:33 -04:00
|
|
|
<resource>
|
2021-03-27 10:03:16 -04:00
|
|
|
<directory>../../main/src/test/java</directory>
|
2020-10-23 18:30:33 -04:00
|
|
|
<includes>
|
|
|
|
<include>org/apache/poi/POIDataSamples.java</include>
|
|
|
|
<include>org/apache/poi/util/NullPrintStream.java</include>
|
|
|
|
<include>org/apache/poi/util/NullOutputStream.java</include>
|
|
|
|
<include>org/apache/poi/hssf/HSSFTestDataSamples.java</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2021-02-21 15:57:25 -05:00
|
|
|
<resource>
|
2021-03-27 10:03:16 -04:00
|
|
|
<directory>../../integrationtest/src/test/resources</directory>
|
2021-02-21 15:57:25 -05:00
|
|
|
</resource>
|
2020-01-06 19:44:01 -05:00
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- clean copied sources afterwards -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>${maven.plugin.clean.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>src</directory>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
<fileset>
|
|
|
|
<directory>build</directory>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- set jvm parameters for surefire plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven.plugin.surefire.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -Djava.io.tmpdir=${basedir}/target/tmp -XX:-OmitStackTraceInFastThrow</argLine>
|
|
|
|
<workingDirectory>../..</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>poi-scratchpad</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>poi-examples</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
2020-09-25 15:39:49 -04:00
|
|
|
<version>0.9.12</version>
|
2020-01-06 19:44:01 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-core</artifactId>
|
2021-01-11 18:53:29 -05:00
|
|
|
<version>1.27</version>
|
2020-01-06 19:44:01 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
2020-11-11 16:53:05 -05:00
|
|
|
<version>1.10.9</version>
|
2020-01-06 19:44:01 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
</project>
|