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>
|
2021-01-12 17:40:59 -05:00
|
|
|
<version>5.0.1-SNAPSHOT</version>
|
2014-02-15 05:42:43 -05:00
|
|
|
</parent>
|
|
|
|
<artifactId>poi-examples</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>Apache POI Examples package</name>
|
2020-02-23 10:56:54 -05:00
|
|
|
|
2020-12-17 15:31:46 -05:00
|
|
|
<properties>
|
|
|
|
<!-- There are no junit tests in the examples module -->
|
|
|
|
<maven.test.skip>true</maven.test.skip>
|
|
|
|
</properties>
|
2020-02-23 10:56:54 -05:00
|
|
|
|
2014-02-15 05:42:43 -05:00
|
|
|
<build>
|
2020-12-17 15:31:46 -05:00
|
|
|
<plugins>
|
|
|
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>${maven.plugin.resources.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-sources</id>
|
|
|
|
<!-- here the phase you need -->
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
2021-04-08 16:10:53 -04:00
|
|
|
<directory>../../poi-examples/src/main/java</directory>
|
2020-12-17 15:31:46 -05:00
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- clean copied sources afterwards -->
|
|
|
|
<plugin>
|
2014-02-27 09:03:27 -05:00
|
|
|
<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>
|
2020-02-23 10:56:54 -05:00
|
|
|
</plugin>
|
2020-12-17 15:31:46 -05:00
|
|
|
</plugins>
|
2014-02-15 05:42:43 -05:00
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
2020-12-17 15:31:46 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>poi-main</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2014-02-15 05:42:43 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|