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.

287 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.0</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://www.afterturn.cn</url>
  15. <description>office 工具类 基于 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>scm:git@git.oschina.net:lemur/easypoi.git</connection>
  24. <developerConnection>scm:git@git.oschina.net:lemur/easypoi.git</developerConnection>
  25. <url>git@git.oschina.net:lemur/easypoi.git</url>
  26. </scm>
  27. <developers>
  28. <developer>
  29. <name>JueYue</name>
  30. <email>qrb.jueyue@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>Lumer</name>
  39. <url>http://www.afterturn.cn</url>
  40. </organization>
  41. <properties>
  42. <sub.version>4.1.0</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. <!-- google 工具类 -->
  95. <dependency>
  96. <groupId>com.google.guava</groupId>
  97. <artifactId>guava</artifactId>
  98. <version>${guava.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.commons</groupId>
  102. <artifactId>commons-lang3</artifactId>
  103. <version>${commons-lang.version}</version>
  104. </dependency>
  105. <!--日志 -->
  106. <!-- slf4j -->
  107. <dependency>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>slf4j-api</artifactId>
  110. <version>${slf4j.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.slf4j</groupId>
  114. <artifactId>slf4j-log4j12</artifactId>
  115. <version>${slf4j.version}</version>
  116. <scope>provided</scope>
  117. </dependency>
  118. <!--spring -->
  119. <dependency>
  120. <groupId>org.springframework</groupId>
  121. <artifactId>spring-web</artifactId>
  122. <version>${spring.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework</groupId>
  126. <artifactId>spring-webmvc</artifactId>
  127. <version>${spring.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.springframework</groupId>
  131. <artifactId>spring-core</artifactId>
  132. <version>${spring.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>javax.servlet</groupId>
  136. <artifactId>servlet-api</artifactId>
  137. <version>2.5</version>
  138. <scope>provided</scope>
  139. <optional>true</optional>
  140. </dependency>
  141. <!-- PDF -->
  142. <dependency>
  143. <groupId>com.itextpdf</groupId>
  144. <artifactId>itextpdf</artifactId>
  145. <version>5.5.6</version>
  146. <optional>true</optional>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.itextpdf</groupId>
  150. <artifactId>itext-asian</artifactId>
  151. <version>5.2.0</version>
  152. <optional>true</optional>
  153. </dependency>
  154. <dependency>
  155. <groupId>javax.validation</groupId>
  156. <artifactId>validation-api</artifactId>
  157. <version>1.1.0.Final</version>
  158. </dependency>
  159. <!-- 读取Excel -->
  160. <dependency>
  161. <groupId>org.jsoup</groupId>
  162. <artifactId>jsoup</artifactId>
  163. <version>1.8.3</version>
  164. </dependency>
  165. <!-- 表达式处理 -->
  166. <dependency>
  167. <groupId>ognl</groupId>
  168. <artifactId>ognl</artifactId>
  169. <version>3.2.6</version>
  170. </dependency>
  171. <!-- 模块版本 -->
  172. <dependency>
  173. <groupId>cn.afterturn</groupId>
  174. <artifactId>easypoi-base</artifactId>
  175. <version>${sub.version}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>cn.afterturn</groupId>
  179. <artifactId>easypoi-annotation</artifactId>
  180. <version>${sub.version}</version>
  181. </dependency>
  182. </dependencies>
  183. </dependencyManagement>
  184. <build>
  185. <plugins>
  186. <plugin>
  187. <groupId>org.sonatype.plugins</groupId>
  188. <artifactId>nexus-staging-maven-plugin</artifactId>
  189. <version>1.6.5</version>
  190. <configuration>
  191. <serverId>ossrh</serverId>
  192. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  193. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  194. </configuration>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-release-plugin</artifactId>
  199. <version>2.5</version>
  200. <configuration>
  201. <autoVersionSubmodules>true</autoVersionSubmodules>
  202. <useReleaseProfile>false</useReleaseProfile>
  203. <releaseProfiles>release</releaseProfiles>
  204. <goals>deploy</goals>
  205. </configuration>
  206. </plugin>
  207. <plugin>
  208. <artifactId>maven-source-plugin</artifactId>
  209. <version>2.1</version>
  210. <configuration>
  211. <attach>true</attach>
  212. </configuration>
  213. <executions>
  214. <execution>
  215. <phase>compile</phase>
  216. <goals>
  217. <goal>jar</goal>
  218. </goals>
  219. </execution>
  220. </executions>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-compiler-plugin</artifactId>
  225. <version>3.0</version>
  226. <configuration>
  227. <source>1.8</source>
  228. <target>1.8</target>
  229. <encoding>UTF-8</encoding>
  230. </configuration>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-javadoc-plugin</artifactId>
  235. <version>2.6</version>
  236. <executions>
  237. <execution>
  238. <id>attach-javadocs</id>
  239. <goals>
  240. <goal>jar</goal>
  241. </goals>
  242. <configuration>
  243. <additionalparam>-Xdoclint:none</additionalparam>
  244. </configuration>
  245. </execution>
  246. </executions>
  247. <configuration>
  248. <encoding>UTF-8</encoding>
  249. <failOnError>false</failOnError>
  250. </configuration>
  251. </plugin>
  252. </plugins>
  253. </build>
  254. <distributionManagement>
  255. <repository>
  256. <id>postaop-pay-platform-release</id>
  257. <url>http://postaop.oicp.net:8081/nexus/content/repositories/postaop-common-release/</url>
  258. </repository>
  259. <snapshotRepository>
  260. <id>postaop-pay-platform-snapshot</id>
  261. <url>http://postaop.oicp.net:8081/nexus/content/repositories/postaop-common-snapshot/</url>
  262. </snapshotRepository>
  263. </distributionManagement>
  264. </project>