2014-02-15 05:42:43 -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>
|
2017-08-20 15:18:48 -04:00
|
|
|
<version>3.18-beta1-SNAPSHOT</version>
|
2014-02-15 05:42:43 -05:00
|
|
|
</parent>
|
|
|
|
<artifactId>poi-main</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>Apache POI Main package</name>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2014-02-27 09:03:27 -05:00
|
|
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2016-06-11 04:45:28 -04:00
|
|
|
<version>${maven.plugin.resources.version}</version>
|
2014-02-27 09:03:27 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-sources</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>../../src/java</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/src/main/resources</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>../../src/resources/main</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-tests</id>
|
|
|
|
<!-- here the phase you need -->
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/src/test/java</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>../../src/testcases</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-06-05 12:23:48 -04:00
|
|
|
|
2014-02-27 09:03:27 -05:00
|
|
|
<!-- clean copied sources afterwards -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
2016-06-11 04:45:28 -04:00
|
|
|
<version>${maven.plugin.clean.version}</version>
|
2014-02-27 09:03:27 -05:00
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>src</directory>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2014-02-15 05:42:43 -05:00
|
|
|
<!-- provide the test-jar for other modules -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2016-06-11 04:45:28 -04:00
|
|
|
<version>${maven.plugin.jar.version}</version>
|
2014-02-15 05:42:43 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-06-05 12:23:48 -04:00
|
|
|
|
|
|
|
<!-- set jvm parameters for surefire plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2016-06-11 04:45:28 -04:00
|
|
|
<version>${maven.plugin.surefire.version}</version>
|
2016-06-05 12:23:48 -04:00
|
|
|
<configuration>
|
2016-12-26 14:51:47 -05:00
|
|
|
<argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
2016-06-05 12:23:48 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-02-15 05:42:43 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
2016-07-30 08:39:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-collections4</artifactId>
|
|
|
|
<version>4.1</version>
|
|
|
|
</dependency>
|
2017-09-13 19:54:36 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-math3</artifactId>
|
|
|
|
<version>3.6.1</version>
|
|
|
|
</dependency>
|
2014-02-15 05:42:43 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
2015-10-13 12:37:22 -04:00
|
|
|
<version>1.10</version>
|
2014-02-15 05:42:43 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
2015-10-13 12:37:22 -04:00
|
|
|
<version>1.2</version>
|
2014-02-15 05:42:43 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|