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.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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>4.0.1-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>poi-ooxml</artifactId>
  12. <packaging>jar</packaging>
  13. <name>Apache POI OOXML package</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-sources</id>
  23. <phase>generate-sources</phase>
  24. <goals>
  25. <goal>copy-resources</goal>
  26. </goals>
  27. <configuration>
  28. <outputDirectory>${basedir}/src/main/java</outputDirectory>
  29. <resources>
  30. <resource>
  31. <directory>../../src/ooxml/java</directory>
  32. </resource>
  33. </resources>
  34. </configuration>
  35. </execution>
  36. <execution>
  37. <id>copy-resources</id>
  38. <phase>generate-resources</phase>
  39. <goals>
  40. <goal>copy-resources</goal>
  41. </goals>
  42. <configuration>
  43. <outputDirectory>${basedir}/src/main/resources</outputDirectory>
  44. <resources>
  45. <resource>
  46. <directory>../../src/resources/ooxml</directory>
  47. </resource>
  48. </resources>
  49. </configuration>
  50. </execution>
  51. <execution>
  52. <id>copy-tests</id>
  53. <phase>generate-test-sources</phase>
  54. <goals>
  55. <goal>copy-resources</goal>
  56. </goals>
  57. <configuration>
  58. <outputDirectory>${basedir}/src/test/java</outputDirectory>
  59. <resources>
  60. <resource>
  61. <directory>../../src/ooxml/testcases</directory>
  62. </resource>
  63. </resources>
  64. </configuration>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <!-- clean copied sources afterwards -->
  69. <plugin>
  70. <artifactId>maven-clean-plugin</artifactId>
  71. <version>${maven.plugin.clean.version}</version>
  72. <configuration>
  73. <filesets>
  74. <fileset>
  75. <directory>src</directory>
  76. <followSymlinks>false</followSymlinks>
  77. </fileset>
  78. <fileset>
  79. <directory>build</directory>
  80. <followSymlinks>false</followSymlinks>
  81. </fileset>
  82. </filesets>
  83. </configuration>
  84. </plugin>
  85. <!-- set jvm parameters for surefire plugin -->
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-surefire-plugin</artifactId>
  89. <version>${maven.plugin.surefire.version}</version>
  90. <configuration>
  91. <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -Djava.io.tmpdir=target/tmp -XX:-OmitStackTraceInFastThrow</argLine>
  92. </configuration>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. <dependencies>
  97. <dependency>
  98. <groupId>${project.groupId}</groupId>
  99. <artifactId>poi-ooxml-schema</artifactId>
  100. <version>${project.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>${project.groupId}</groupId>
  104. <artifactId>poi-ooxml-schema-encryption</artifactId>
  105. <version>${project.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>${project.groupId}</groupId>
  109. <artifactId>poi-ooxml-schema-security</artifactId>
  110. <version>${project.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>${project.groupId}</groupId>
  114. <artifactId>poi-main</artifactId>
  115. <version>${project.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>${project.groupId}</groupId>
  119. <artifactId>poi-main</artifactId>
  120. <version>${project.version}</version>
  121. <type>test-jar</type>
  122. <scope>test</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.xmlbeans</groupId>
  126. <artifactId>xmlbeans</artifactId>
  127. <version>${xmlbeans.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.bouncycastle</groupId>
  131. <artifactId>bcpkix-jdk15on</artifactId>
  132. <version>1.59</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.bouncycastle</groupId>
  136. <artifactId>bcprov-jdk15on</artifactId>
  137. <version>1.59</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.santuario</groupId>
  141. <artifactId>xmlsec</artifactId>
  142. <version>2.1.0</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.commons</groupId>
  146. <artifactId>commons-compress</artifactId>
  147. <version>1.18</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.github.virtuald</groupId>
  151. <artifactId>curvesapi</artifactId>
  152. <version>1.05</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>junit</groupId>
  156. <artifactId>junit</artifactId>
  157. <version>${junit.version}</version>
  158. <scope>test</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.openjdk.jmh</groupId>
  162. <artifactId>jmh-core</artifactId>
  163. <version>1.19</version>
  164. <scope>test</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.openjdk.jmh</groupId>
  168. <artifactId>jmh-generator-annprocess</artifactId>
  169. <version>1.19</version>
  170. <scope>test</scope>
  171. </dependency>
  172. </dependencies>
  173. </project>