Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

297 Zeilen
10 KiB

  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>cn.afterturn</groupId>
  5. <artifactId>easypoi</artifactId>
  6. <version>4.1.3</version>
  7. <packaging>pom</packaging>
  8. <name>easypoi</name>
  9. <modules>
  10. <module>easypoi-base</module>
  11. <module>easypoi-web</module>
  12. <module>easypoi-annotation</module>
  13. </modules>
  14. <url>http://opensource.afterturn.cn/</url>
  15. <description>office utils base poi</description>
  16. <licenses>
  17. <license>
  18. <name>The Apache License, Version 2.0</name>
  19. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  20. </license>
  21. </licenses>
  22. <scm>
  23. <connection>https://github.com/jueyue/easypoi.git</connection>
  24. <developerConnection>https://github.com/jueyue/easypoi.git</developerConnection>
  25. <url>https://github.com/jueyue/easypoi.git</url>
  26. </scm>
  27. <developers>
  28. <developer>
  29. <name>JueYue</name>
  30. <email>quranbo@foxmail.com</email>
  31. </developer>
  32. <developer>
  33. <name>魔幻之翼</name>
  34. <email>xf.key@163.com</email>
  35. </developer>
  36. </developers>
  37. <organization>
  38. <name>Lemur</name>
  39. <url>http://opensource.afterturn.cn/</url>
  40. </organization>
  41. <properties>
  42. <sub.version>4.1.3</sub.version>
  43. <poi.version>4.1.0</poi.version>
  44. <xerces.version>2.9.1</xerces.version>
  45. <guava.version>16.0.1</guava.version>
  46. <commons-lang.version>3.2.1</commons-lang.version>
  47. <slf4j.version>1.6.1</slf4j.version>
  48. <spring.version>5.1.7.RELEASE</spring.version>
  49. </properties>
  50. <dependencyManagement>
  51. <dependencies>
  52. <!-- poi -->
  53. <dependency>
  54. <groupId>org.apache.poi</groupId>
  55. <artifactId>poi</artifactId>
  56. <version>${poi.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.poi</groupId>
  60. <artifactId>poi-ooxml</artifactId>
  61. <version>${poi.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.poi</groupId>
  65. <artifactId>poi-ooxml-schemas</artifactId>
  66. <exclusions>
  67. <exclusion>
  68. <groupId>xerces</groupId>
  69. <artifactId>xercesImpl</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. <version>${poi.version}</version>
  73. </dependency>
  74. <!-- sax -->
  75. <dependency>
  76. <groupId>xerces</groupId>
  77. <artifactId>xercesImpl</artifactId>
  78. <version>${xerces.version}</version>
  79. <optional>true</optional>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.poi</groupId>
  83. <artifactId>poi-scratchpad</artifactId>
  84. <version>${poi.version}</version>
  85. <optional>true</optional>
  86. </dependency>
  87. <!-- Word-->
  88. <dependency>
  89. <groupId>org.apache.poi</groupId>
  90. <artifactId>poi-ooxml-schemas</artifactId>
  91. <version>${poi.version}</version>
  92. <optional>true</optional>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.xmlbeans</groupId>
  96. <artifactId>xmlbeans</artifactId>
  97. <version>3.1.0</version>
  98. <optional>true</optional>
  99. </dependency>
  100. <!-- google-->
  101. <dependency>
  102. <groupId>com.google.guava</groupId>
  103. <artifactId>guava</artifactId>
  104. <version>${guava.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.commons</groupId>
  108. <artifactId>commons-lang3</artifactId>
  109. <version>${commons-lang.version}</version>
  110. </dependency>
  111. <!-- slf4j -->
  112. <dependency>
  113. <groupId>org.slf4j</groupId>
  114. <artifactId>slf4j-api</artifactId>
  115. <version>${slf4j.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.slf4j</groupId>
  119. <artifactId>slf4j-log4j12</artifactId>
  120. <version>${slf4j.version}</version>
  121. <scope>provided</scope>
  122. </dependency>
  123. <!--spring -->
  124. <dependency>
  125. <groupId>org.springframework</groupId>
  126. <artifactId>spring-web</artifactId>
  127. <version>${spring.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.springframework</groupId>
  131. <artifactId>spring-webmvc</artifactId>
  132. <version>${spring.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework</groupId>
  136. <artifactId>spring-context</artifactId>
  137. <version>${spring.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework</groupId>
  141. <artifactId>spring-core</artifactId>
  142. <version>${spring.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework</groupId>
  146. <artifactId>spring-beans</artifactId>
  147. <version>${spring.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>javax.servlet</groupId>
  151. <artifactId>servlet-api</artifactId>
  152. <version>2.5</version>
  153. <scope>provided</scope>
  154. <optional>true</optional>
  155. </dependency>
  156. <!-- PDF -->
  157. <dependency>
  158. <groupId>com.itextpdf</groupId>
  159. <artifactId>itextpdf</artifactId>
  160. <version>5.5.6</version>
  161. <optional>true</optional>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.itextpdf</groupId>
  165. <artifactId>itext-asian</artifactId>
  166. <version>5.2.0</version>
  167. <optional>true</optional>
  168. </dependency>
  169. <dependency>
  170. <groupId>javax.validation</groupId>
  171. <artifactId>validation-api</artifactId>
  172. <version>1.1.0.Final</version>
  173. </dependency>
  174. <!-- Excel -->
  175. <dependency>
  176. <groupId>org.jsoup</groupId>
  177. <artifactId>jsoup</artifactId>
  178. <version>1.8.3</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>ognl</groupId>
  182. <artifactId>ognl</artifactId>
  183. <version>3.2.6</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.projectlombok</groupId>
  187. <artifactId>lombok</artifactId>
  188. <version>1.16.20</version>
  189. <scope>provided</scope>
  190. </dependency>
  191. <!-- model -->
  192. <dependency>
  193. <groupId>cn.afterturn</groupId>
  194. <artifactId>easypoi-base</artifactId>
  195. <version>${sub.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>cn.afterturn</groupId>
  199. <artifactId>easypoi-annotation</artifactId>
  200. <version>${sub.version}</version>
  201. </dependency>
  202. </dependencies>
  203. </dependencyManagement>
  204. <build>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.sonatype.plugins</groupId>
  208. <artifactId>nexus-staging-maven-plugin</artifactId>
  209. <version>1.6.5</version>
  210. <configuration>
  211. <serverId>ossrh</serverId>
  212. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  213. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  214. </configuration>
  215. </plugin>
  216. <plugin>
  217. <groupId>org.apache.maven.plugins</groupId>
  218. <artifactId>maven-release-plugin</artifactId>
  219. <version>2.5</version>
  220. <configuration>
  221. <autoVersionSubmodules>true</autoVersionSubmodules>
  222. <useReleaseProfile>false</useReleaseProfile>
  223. <releaseProfiles>release</releaseProfiles>
  224. <goals>deploy</goals>
  225. </configuration>
  226. </plugin>
  227. <plugin>
  228. <artifactId>maven-source-plugin</artifactId>
  229. <version>2.1</version>
  230. <configuration>
  231. <attach>true</attach>
  232. </configuration>
  233. <executions>
  234. <execution>
  235. <phase>compile</phase>
  236. <goals>
  237. <goal>jar</goal>
  238. </goals>
  239. </execution>
  240. </executions>
  241. </plugin>
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-compiler-plugin</artifactId>
  245. <version>3.0</version>
  246. <configuration>
  247. <source>1.8</source>
  248. <target>1.8</target>
  249. <encoding>UTF-8</encoding>
  250. </configuration>
  251. </plugin>
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-javadoc-plugin</artifactId>
  255. <version>2.6</version>
  256. <executions>
  257. <execution>
  258. <id>attach-javadocs</id>
  259. <goals>
  260. <goal>jar</goal>
  261. </goals>
  262. <configuration>
  263. <additionalparam>-Xdoclint:none</additionalparam>
  264. </configuration>
  265. </execution>
  266. </executions>
  267. <configuration>
  268. <encoding>UTF-8</encoding>
  269. <failOnError>false</failOnError>
  270. </configuration>
  271. </plugin>
  272. </plugins>
  273. </build>
  274. </project>