mirror of https://github.com/apache/poi.git
remove tabs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7408516467
commit
f9387f37b3
|
@ -13,38 +13,38 @@
|
||||||
|
|
||||||
<name>Apache POI Examples package</name>
|
<name>Apache POI Examples package</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- There are no junit tests in the examples module -->
|
<!-- There are no junit tests in the examples module -->
|
||||||
<maven.test.skip>true</maven.test.skip>
|
<maven.test.skip>true</maven.test.skip>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>${maven.plugin.resources.version}</version>
|
<version>${maven.plugin.resources.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-sources</id>
|
<id>copy-sources</id>
|
||||||
<!-- here the phase you need -->
|
<!-- here the phase you need -->
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../src/examples/src</directory>
|
<directory>../../src/examples/src</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- clean copied sources afterwards -->
|
<!-- clean copied sources afterwards -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>${maven.plugin.clean.version}</version>
|
<version>${maven.plugin.clean.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -56,19 +56,19 @@
|
||||||
</filesets>
|
</filesets>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>${project.groupId}</groupId>
|
||||||
|
<artifactId>poi-ooxml</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>${project.groupId}</groupId>
|
|
||||||
<artifactId>poi-ooxml</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -14,64 +14,64 @@
|
||||||
<name>Apache POI ExcelAnt package</name>
|
<name>Apache POI ExcelAnt package</name>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>${maven.plugin.resources.version}</version>
|
<version>${maven.plugin.resources.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-sources</id>
|
<id>copy-sources</id>
|
||||||
<!-- here the phase you need -->
|
<!-- here the phase you need -->
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../src/excelant/java</directory>
|
<directory>../../src/excelant/java</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-resources</id>
|
<id>copy-resources</id>
|
||||||
<!-- here the phase you need -->
|
<!-- here the phase you need -->
|
||||||
<phase>generate-resources</phase>
|
<phase>generate-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${basedir}/src/main/resources</outputDirectory>
|
<outputDirectory>${basedir}/src/main/resources</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../src/excelant/resources</directory>
|
<directory>../../src/excelant/resources</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-tests</id>
|
<id>copy-tests</id>
|
||||||
<!-- here the phase you need -->
|
<!-- here the phase you need -->
|
||||||
<phase>generate-test-sources</phase>
|
<phase>generate-test-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${basedir}/src/test/java</outputDirectory>
|
<outputDirectory>${basedir}/src/test/java</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../src/excelant/testcases</directory>
|
<directory>../../src/excelant/testcases</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- clean copied sources afterwards -->
|
<!-- clean copied sources afterwards -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>${maven.plugin.clean.version}</version>
|
<version>${maven.plugin.clean.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -83,32 +83,32 @@
|
||||||
</filesets>
|
</filesets>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>poi-ooxml</artifactId>
|
<artifactId>poi-ooxml</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.ant</groupId>
|
<groupId>org.apache.ant</groupId>
|
||||||
<artifactId>ant</artifactId>
|
<artifactId>ant</artifactId>
|
||||||
<version>1.10.9</version>
|
<version>1.10.9</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -14,129 +14,129 @@
|
||||||
|
|
||||||
<name>Apache POI - Openxmlformats Schema package</name>
|
<name>Apache POI - Openxmlformats Schema package</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- see http://docs.codehaus.org/display/SONAR/Narrowing+the+Focus for details of this property -->
|
<!-- see http://docs.codehaus.org/display/SONAR/Narrowing+the+Focus for details of this property -->
|
||||||
<sonar.exclusions>target/generated-sources/*</sonar.exclusions>
|
<sonar.exclusions>target/generated-sources/*</sonar.exclusions>
|
||||||
<maven.compiler.fork>true</maven.compiler.fork>
|
<maven.compiler.fork>true</maven.compiler.fork>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>${maven.plugin.antrun.version}</version>
|
<version>${maven.plugin.antrun.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-xmltype-and-xsdconfig</id>
|
<id>copy-xmltype-and-xsdconfig</id>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<property name="xsdir" value="${basedir}/../../src/ooxml/resources/org/apache/poi"/>
|
<property name="xsdir" value="${basedir}/../../src/ooxml/resources/org/apache/poi"/>
|
||||||
<copy todir="${basedir}/target/schemas">
|
<copy todir="${basedir}/target/schemas">
|
||||||
<zipfileset src="${xsdir}/schemas/OfficeOpenXML-XMLSchema-Transitional.zip"/>
|
<zipfileset src="${xsdir}/schemas/OfficeOpenXML-XMLSchema-Transitional.zip"/>
|
||||||
<zipfileset src="${xsdir}/schemas/OpenPackagingConventions-XMLSchema.zip" includes="opc-digSig.xsd,opc-relationships.xsd"/>
|
<zipfileset src="${xsdir}/schemas/OpenPackagingConventions-XMLSchema.zip" includes="opc-digSig.xsd,opc-relationships.xsd"/>
|
||||||
<fileset dir="${xsdir}/xdgf" includes="*.xsd,*.xsdconfig"/>
|
<fileset dir="${xsdir}/xdgf" includes="*.xsd,*.xsdconfig"/>
|
||||||
<fileset dir="${xsdir}/schemas" includes="*.xsd,*.xsdconfig"/>
|
<fileset dir="${xsdir}/schemas" includes="*.xsd,*.xsdconfig"/>
|
||||||
<fileset dir="${xsdir}/poifs/crypt" includes="signatureInfo.xsd"/>
|
<fileset dir="${xsdir}/poifs/crypt" includes="signatureInfo.xsd"/>
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.0.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>process-sources</phase>
|
<phase>process-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<!-- need to use exec instead of java, because SchemaCompiler calls System.exit() -->
|
<!-- need to use exec instead of java, because SchemaCompiler calls System.exit() -->
|
||||||
<goal>exec</goal>
|
<goal>exec</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<executable>java</executable>
|
<executable>java</executable>
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>-classpath</argument>
|
<argument>-classpath</argument>
|
||||||
<!-- automatically creates the classpath using all project dependencies,
|
<!-- automatically creates the classpath using all project dependencies,
|
||||||
also adding the project build directory -->
|
also adding the project build directory -->
|
||||||
<classpath/>
|
<classpath/>
|
||||||
<argument>org.apache.xmlbeans.impl.tool.SchemaCompiler</argument>
|
<argument>org.apache.xmlbeans.impl.tool.SchemaCompiler</argument>
|
||||||
<argument>-srconly</argument>
|
<argument>-srconly</argument>
|
||||||
<argument>-name</argument>
|
<argument>-name</argument>
|
||||||
<argument>ooxml</argument>
|
<argument>ooxml</argument>
|
||||||
<argument>-repackage</argument>
|
<argument>-repackage</argument>
|
||||||
<argument>org.apache.xmlbeans.metadata:org.apache.poi.schemas.ooxml</argument>
|
<argument>org.apache.xmlbeans.metadata:org.apache.poi.schemas.ooxml</argument>
|
||||||
<argument>-d</argument>
|
<argument>-d</argument>
|
||||||
<argument>${basedir}/target/generated-resources</argument>
|
<argument>${basedir}/target/generated-resources</argument>
|
||||||
<argument>-src</argument>
|
<argument>-src</argument>
|
||||||
<argument>${basedir}/target/generated-sources</argument>
|
<argument>${basedir}/target/generated-sources</argument>
|
||||||
<argument>${basedir}/target/schemas</argument>
|
<argument>${basedir}/target/schemas</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
<additionalClasspathElements>
|
<additionalClasspathElements>
|
||||||
<additionalClasspathElement>
|
<additionalClasspathElement>
|
||||||
${basedir}/../../lib/ooxml/xmlbeans-4.0.0.jar
|
${basedir}/../../lib/ooxml/xmlbeans-4.0.0.jar
|
||||||
</additionalClasspathElement>
|
</additionalClasspathElement>
|
||||||
</additionalClasspathElements>
|
</additionalClasspathElements>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
<version>3.2.0</version>
|
<version>3.2.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>add-source</id>
|
<id>add-source</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>add-source</goal>
|
<goal>add-source</goal>
|
||||||
<goal>add-resource</goal>
|
<goal>add-resource</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>${basedir}/target/generated-resources</directory>
|
<directory>${basedir}/target/generated-resources</directory>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>${basedir}/../../src/multimodule/ooxml-full/java9</directory>
|
<directory>${basedir}/../../src/multimodule/ooxml-full/java9</directory>
|
||||||
<targetPath>META-INF/versions/9</targetPath>
|
<targetPath>META-INF/versions/9</targetPath>
|
||||||
<includes>
|
<includes>
|
||||||
<include>*.class</include>
|
<include>*.class</include>
|
||||||
</includes>
|
</includes>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
<sources>
|
<sources>
|
||||||
<source>${basedir}/target/generated-sources</source>
|
<source>${basedir}/target/generated-sources</source>
|
||||||
</sources>
|
</sources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>3.2.0</version>
|
<version>3.2.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<archive>
|
<archive>
|
||||||
<manifestEntries>
|
<manifestEntries>
|
||||||
<Multi-Release>true</Multi-Release>
|
<Multi-Release>true</Multi-Release>
|
||||||
<Automatic-Module-Name>org.apache.poi.ooxml.schemas</Automatic-Module-Name>
|
<Automatic-Module-Name>org.apache.poi.ooxml.schemas</Automatic-Module-Name>
|
||||||
</manifestEntries>
|
</manifestEntries>
|
||||||
</archive>
|
</archive>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
|
|
|
@ -13,71 +13,71 @@
|
||||||
|
|
||||||
<name>Apache POI Scratchpad package</name>
|
<name>Apache POI Scratchpad package</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Exclude some generated code from Sonar analysis -->
|
<!-- Exclude some generated code from Sonar analysis -->
|
||||||
<sonar.exclusions>src/main/java/org/apache/poi/hwpf/model/types/*,src/main/java/org/apache/poi/hdf/model/hdftypes/definitions/*</sonar.exclusions>
|
<sonar.exclusions>src/main/java/org/apache/poi/hwpf/model/types/*,src/main/java/org/apache/poi/hdf/model/hdftypes/definitions/*</sonar.exclusions>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>${maven.plugin.resources.version}</version>
|
<version>${maven.plugin.resources.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-sources</id>
|
<id>copy-sources</id>
|
||||||
<!-- here the phase you need -->
|
<!-- here the phase you need -->
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
<outputDirectory>${basedir}/src/main/java</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../src/scratchpad/src</directory>
|
<directory>../../src/scratchpad/src</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-resources</id>
|
<id>copy-resources</id>
|
||||||
<!-- here the phase you need -->
|
<!-- here the phase you need -->
|
||||||
<phase>generate-resources</phase>
|
<phase>generate-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${basedir}/src/main/resources</outputDirectory>
|
<outputDirectory>${basedir}/src/main/resources</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../src/resources/scratchpad</directory>
|
<directory>../../src/resources/scratchpad</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<id>copy-tests</id>
|
<id>copy-tests</id>
|
||||||
<!-- here the phase you need -->
|
<!-- here the phase you need -->
|
||||||
<phase>generate-test-sources</phase>
|
<phase>generate-test-sources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>copy-resources</goal>
|
<goal>copy-resources</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${basedir}/src/test/java</outputDirectory>
|
<outputDirectory>${basedir}/src/test/java</outputDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>../../src/scratchpad/testcases</directory>
|
<directory>../../src/scratchpad/testcases</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- clean copied sources afterwards -->
|
<!-- clean copied sources afterwards -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>${maven.plugin.clean.version}</version>
|
<version>${maven.plugin.clean.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -89,21 +89,21 @@
|
||||||
</filesets>
|
</filesets>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue