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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <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
  2. http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.apache.poi</groupId>
  6. <artifactId>poi-parent</artifactId>
  7. <version>5.0.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>poi-ooxml</artifactId>
  10. <packaging>jar</packaging>
  11. <name>Apache POI OOXML package</name>
  12. <build>
  13. <plugins>
  14. <!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
  15. <plugin>
  16. <artifactId>maven-resources-plugin</artifactId>
  17. <version>${maven.plugin.resources.version}</version>
  18. <executions>
  19. <execution>
  20. <id>copy-sources</id>
  21. <phase>generate-sources</phase>
  22. <goals>
  23. <goal>copy-resources</goal>
  24. </goals>
  25. <configuration>
  26. <outputDirectory>${basedir}/src/main/java</outputDirectory>
  27. <resources>
  28. <resource>
  29. <directory>../../poi-ooxml/src/main/java</directory>
  30. </resource>
  31. </resources>
  32. </configuration>
  33. </execution>
  34. <execution>
  35. <id>copy-resources</id>
  36. <phase>generate-resources</phase>
  37. <goals>
  38. <goal>copy-resources</goal>
  39. </goals>
  40. <configuration>
  41. <outputDirectory>${basedir}/src/main/resources</outputDirectory>
  42. <resources>
  43. <resource>
  44. <directory>../../poi-ooxml/src/main/resources</directory>
  45. </resource>
  46. </resources>
  47. </configuration>
  48. </execution>
  49. <execution>
  50. <id>copy-tests</id>
  51. <phase>generate-test-sources</phase>
  52. <goals>
  53. <goal>copy-resources</goal>
  54. </goals>
  55. <configuration>
  56. <outputDirectory>${basedir}/src/test/java</outputDirectory>
  57. <resources>
  58. <resource>
  59. <directory>../../poi-ooxml/src/test/java</directory>
  60. </resource>
  61. <resource>
  62. <directory>../../poi-ooxml/src/test/resources</directory>
  63. </resource>
  64. </resources>
  65. </configuration>
  66. </execution>
  67. </executions>
  68. </plugin>
  69. <!-- clean copied sources afterwards -->
  70. <plugin>
  71. <artifactId>maven-clean-plugin</artifactId>
  72. <version>${maven.plugin.clean.version}</version>
  73. <configuration>
  74. <filesets>
  75. <fileset>
  76. <directory>src</directory>
  77. <followSymlinks>false</followSymlinks>
  78. </fileset>
  79. <fileset>
  80. <directory>build</directory>
  81. <followSymlinks>false</followSymlinks>
  82. </fileset>
  83. </filesets>
  84. </configuration>
  85. </plugin>
  86. <!-- set jvm parameters for surefire plugin -->
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-surefire-plugin</artifactId>
  90. <version>${maven.plugin.surefire.version}</version>
  91. <configuration>
  92. <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m
  93. -Djava.io.tmpdir=${basedir}/target/tmp -XX:-OmitStackTraceInFastThrow
  94. </argLine>
  95. </configuration>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. <dependencies>
  100. <dependency>
  101. <groupId>${project.groupId}</groupId>
  102. <artifactId>poi-ooxml-lite</artifactId>
  103. <version>${project.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>${project.groupId}</groupId>
  107. <artifactId>poi-main</artifactId>
  108. <version>${project.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>${project.groupId}</groupId>
  112. <artifactId>poi-main</artifactId>
  113. <version>${project.version}</version>
  114. <type>test-jar</type>
  115. <scope>test</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.xmlbeans</groupId>
  119. <artifactId>xmlbeans</artifactId>
  120. <version>${xmlbeans.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.bouncycastle</groupId>
  124. <artifactId>bcpkix-jdk15on</artifactId>
  125. <version>1.68</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.bouncycastle</groupId>
  129. <artifactId>bcprov-jdk15on</artifactId>
  130. <version>1.68</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.santuario</groupId>
  134. <artifactId>xmlsec</artifactId>
  135. <version>2.2.1</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.commons</groupId>
  139. <artifactId>commons-compress</artifactId>
  140. <version>1.20</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.github.virtuald</groupId>
  144. <artifactId>curvesapi</artifactId>
  145. <version>1.06</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.xmlgraphics</groupId>
  149. <artifactId>batik-svggen</artifactId>
  150. <version>1.14</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.xmlgraphics</groupId>
  154. <artifactId>batik-bridge</artifactId>
  155. <version>1.14</version>
  156. <exclusions>
  157. <exclusion>
  158. <groupId>org.apache.xmlgraphics</groupId>
  159. <artifactId>batik-script</artifactId>
  160. </exclusion>
  161. </exclusions>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.apache.xmlgraphics</groupId>
  165. <artifactId>batik-codec</artifactId>
  166. <version>1.14</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>de.rototor.pdfbox</groupId>
  170. <artifactId>graphics2d</artifactId>
  171. <version>0.31</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.reflections</groupId>
  175. <artifactId>reflections</artifactId>
  176. <version>0.9.12</version>
  177. <scope>test</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.openjdk.jmh</groupId>
  181. <artifactId>jmh-core</artifactId>
  182. <version>1.27</version>
  183. <scope>test</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.openjdk.jmh</groupId>
  187. <artifactId>jmh-generator-annprocess</artifactId>
  188. <version>1.27</version>
  189. <scope>test</scope>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.google.guava</groupId>
  193. <artifactId>guava</artifactId>
  194. <version>30.1-jre</version>
  195. <scope>test</scope>
  196. </dependency>
  197. </dependencies>
  198. </project>