You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  4. http://maven.apache.org/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.apache.poi</groupId>
  8. <artifactId>poi-parent</artifactId>
  9. <version>5.0.1-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>integration-test</artifactId>
  12. <packaging>jar</packaging>
  13. <name>Apache POI integration test</name>
  14. <build>
  15. <plugins>
  16. <!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
  17. <plugin>
  18. <artifactId>maven-resources-plugin</artifactId>
  19. <!-- <version>${mavnen.plugin.resources.version}</version>-->
  20. <executions>
  21. <execution>
  22. <id>copy-tests</id>
  23. <phase>generate-test-sources</phase>
  24. <goals>
  25. <goal>copy-resources</goal>
  26. </goals>
  27. <configuration>
  28. <outputDirectory>${basedir}/src/test/java</outputDirectory>
  29. <resources>
  30. <resource>
  31. <directory>../../src/integrationtest</directory>
  32. </resource>
  33. <resource>
  34. <directory>../../src/testcases</directory>
  35. <includes>
  36. <include>org/apache/poi/POIDataSamples.java</include>
  37. <include>org/apache/poi/util/NullPrintStream.java</include>
  38. <include>org/apache/poi/util/NullOutputStream.java</include>
  39. <include>org/apache/poi/hssf/HSSFTestDataSamples.java</include>
  40. </includes>
  41. </resource>
  42. </resources>
  43. </configuration>
  44. </execution>
  45. </executions>
  46. </plugin>
  47. <!-- clean copied sources afterwards -->
  48. <plugin>
  49. <artifactId>maven-clean-plugin</artifactId>
  50. <version>${maven.plugin.clean.version}</version>
  51. <configuration>
  52. <filesets>
  53. <fileset>
  54. <directory>src</directory>
  55. <followSymlinks>false</followSymlinks>
  56. </fileset>
  57. <fileset>
  58. <directory>build</directory>
  59. <followSymlinks>false</followSymlinks>
  60. </fileset>
  61. </filesets>
  62. </configuration>
  63. </plugin>
  64. <!-- set jvm parameters for surefire plugin -->
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-surefire-plugin</artifactId>
  68. <version>${maven.plugin.surefire.version}</version>
  69. <configuration>
  70. <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -Djava.io.tmpdir=${basedir}/target/tmp -XX:-OmitStackTraceInFastThrow</argLine>
  71. <workingDirectory>../..</workingDirectory>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. <dependencies>
  77. <dependency>
  78. <groupId>${project.groupId}</groupId>
  79. <artifactId>poi-ooxml</artifactId>
  80. <version>${project.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>${project.groupId}</groupId>
  84. <artifactId>poi-scratchpad</artifactId>
  85. <version>${project.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>${project.groupId}</groupId>
  89. <artifactId>poi-examples</artifactId>
  90. <version>${project.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.reflections</groupId>
  94. <artifactId>reflections</artifactId>
  95. <version>0.9.12</version>
  96. <scope>test</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.openjdk.jmh</groupId>
  100. <artifactId>jmh-core</artifactId>
  101. <version>1.27</version>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.ant</groupId>
  106. <artifactId>ant</artifactId>
  107. <version>1.10.9</version>
  108. <scope>test</scope>
  109. </dependency>
  110. </dependencies>
  111. </project>