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 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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>${maven.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>../../poi-integration/src/test/java</directory>
  32. </resource>
  33. <resource>
  34. <directory>../../poi/src/test/java</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. <resource>
  43. <directory>../../poi-integration/src/test/resources</directory>
  44. </resource>
  45. </resources>
  46. </configuration>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. <!-- clean copied sources afterwards -->
  51. <plugin>
  52. <artifactId>maven-clean-plugin</artifactId>
  53. <version>${maven.plugin.clean.version}</version>
  54. <configuration>
  55. <filesets>
  56. <fileset>
  57. <directory>src</directory>
  58. <followSymlinks>false</followSymlinks>
  59. </fileset>
  60. <fileset>
  61. <directory>build</directory>
  62. <followSymlinks>false</followSymlinks>
  63. </fileset>
  64. </filesets>
  65. </configuration>
  66. </plugin>
  67. <!-- set jvm parameters for surefire plugin -->
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-surefire-plugin</artifactId>
  71. <version>${maven.plugin.surefire.version}</version>
  72. <configuration>
  73. <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -Djava.io.tmpdir=${basedir}/target/tmp -XX:-OmitStackTraceInFastThrow</argLine>
  74. <workingDirectory>../..</workingDirectory>
  75. </configuration>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. <dependencies>
  80. <dependency>
  81. <groupId>${project.groupId}</groupId>
  82. <artifactId>poi-ooxml</artifactId>
  83. <version>${project.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>${project.groupId}</groupId>
  87. <artifactId>poi-scratchpad</artifactId>
  88. <version>${project.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>${project.groupId}</groupId>
  92. <artifactId>poi-examples</artifactId>
  93. <version>${project.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.reflections</groupId>
  97. <artifactId>reflections</artifactId>
  98. <version>0.9.12</version>
  99. <scope>test</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.openjdk.jmh</groupId>
  103. <artifactId>jmh-core</artifactId>
  104. <version>1.27</version>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.ant</groupId>
  109. <artifactId>ant</artifactId>
  110. <version>1.10.9</version>
  111. <scope>test</scope>
  112. </dependency>
  113. </dependencies>
  114. </project>