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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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>poi-main</artifactId>
  12. <packaging>jar</packaging>
  13. <name>Apache POI Main 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>../../poi/src/main/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>../../poi/src/main/resources</directory>
  47. </resource>
  48. </resources>
  49. </configuration>
  50. </execution>
  51. <execution>
  52. <id>copy-tests</id>
  53. <!-- here the phase you need -->
  54. <phase>generate-test-sources</phase>
  55. <goals>
  56. <goal>copy-resources</goal>
  57. </goals>
  58. <configuration>
  59. <outputDirectory>${basedir}/src/test/java</outputDirectory>
  60. <resources>
  61. <resource>
  62. <directory>../../poi/src/test/java</directory>
  63. </resource>
  64. <resource>
  65. <directory>../../poi/src/test/resources</directory>
  66. </resource>
  67. </resources>
  68. </configuration>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <!-- clean copied sources afterwards -->
  73. <plugin>
  74. <artifactId>maven-clean-plugin</artifactId>
  75. <version>${maven.plugin.clean.version}</version>
  76. <configuration>
  77. <filesets>
  78. <fileset>
  79. <directory>src</directory>
  80. <followSymlinks>false</followSymlinks>
  81. </fileset>
  82. </filesets>
  83. </configuration>
  84. </plugin>
  85. <!-- provide the test-jar for other modules -->
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-jar-plugin</artifactId>
  89. <version>${maven.plugin.jar.version}</version>
  90. <executions>
  91. <execution>
  92. <goals>
  93. <goal>test-jar</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. <dependencies>
  101. <dependency>
  102. <groupId>org.apache.logging.log4j</groupId>
  103. <artifactId>log4j-api</artifactId>
  104. <version>2.14.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>commons-codec</groupId>
  108. <artifactId>commons-codec</artifactId>
  109. <version>1.15</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-collections4</artifactId>
  114. <version>4.4</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.commons</groupId>
  118. <artifactId>commons-math3</artifactId>
  119. <version>3.6.1</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.zaxxer</groupId>
  123. <artifactId>SparseBitSet</artifactId>
  124. <version>1.2</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.ant</groupId>
  128. <artifactId>ant</artifactId>
  129. <version>1.10.9</version>
  130. <scope>test</scope>
  131. </dependency>
  132. </dependencies>
  133. </project>