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.

253 lines
7.1 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>3.0.2</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://git.oschina.net/jueyue/easypoi</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:jueyue/easypoi.git</connection>
  24. <developerConnection>scm:git@git.oschina.net:jueyue/easypoi.git</developerConnection>
  25. <url>git@git.oschina.net:jueyue/easypoi.git</url>
  26. </scm>
  27. <developers>
  28. <developer>
  29. <name>JueYue</name>
  30. <email>qrb.jueyue@gmail.com</email>
  31. <organization>Lumer</organization>
  32. <organizationUrl>http://www.afterturn.cn</organizationUrl>
  33. </developer>
  34. </developers>
  35. <properties>
  36. <sub.version>3.0.2</sub.version>
  37. <poi.version>3.16</poi.version>
  38. <xerces.version>2.9.1</xerces.version>
  39. <guava.version>16.0.1</guava.version>
  40. <commons-lang.version>3.2.1</commons-lang.version>
  41. <slf4j.version>1.6.1</slf4j.version>
  42. <spring.version>3.1.1.RELEASE</spring.version>
  43. </properties>
  44. <dependencyManagement>
  45. <dependencies>
  46. <!-- poi -->
  47. <dependency>
  48. <groupId>org.apache.poi</groupId>
  49. <artifactId>poi</artifactId>
  50. <version>${poi.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.poi</groupId>
  54. <artifactId>poi-ooxml</artifactId>
  55. <version>${poi.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.poi</groupId>
  59. <artifactId>poi-ooxml-schemas</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>xerces</groupId>
  63. <artifactId>xercesImpl</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. <version>${poi.version}</version>
  67. </dependency>
  68. <!-- sax 读取时候用到的 -->
  69. <dependency>
  70. <groupId>xerces</groupId>
  71. <artifactId>xercesImpl</artifactId>
  72. <version>${xerces.version}</version>
  73. <optional>true</optional>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.poi</groupId>
  77. <artifactId>poi-scratchpad</artifactId>
  78. <version>${poi.version}</version>
  79. <optional>true</optional>
  80. </dependency>
  81. <!-- Word 使用-->
  82. <dependency>
  83. <groupId>org.apache.poi</groupId>
  84. <artifactId>ooxml-schemas</artifactId>
  85. <version>1.3</version>
  86. <optional>true</optional>
  87. </dependency>
  88. <!-- google 工具类 -->
  89. <dependency>
  90. <groupId>com.google.guava</groupId>
  91. <artifactId>guava</artifactId>
  92. <version>${guava.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.commons</groupId>
  96. <artifactId>commons-lang3</artifactId>
  97. <version>${commons-lang.version}</version>
  98. </dependency>
  99. <!--日志 -->
  100. <!-- slf4j -->
  101. <dependency>
  102. <groupId>org.slf4j</groupId>
  103. <artifactId>slf4j-api</artifactId>
  104. <version>${slf4j.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.slf4j</groupId>
  108. <artifactId>slf4j-log4j12</artifactId>
  109. <version>${slf4j.version}</version>
  110. <scope>provided</scope>
  111. </dependency>
  112. <!--spring -->
  113. <dependency>
  114. <groupId>org.springframework</groupId>
  115. <artifactId>spring-web</artifactId>
  116. <version>${spring.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework</groupId>
  120. <artifactId>spring-webmvc</artifactId>
  121. <version>${spring.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework</groupId>
  125. <artifactId>spring-core</artifactId>
  126. <version>${spring.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>javax.servlet</groupId>
  130. <artifactId>servlet-api</artifactId>
  131. <version>2.5</version>
  132. <scope>provided</scope>
  133. <optional>true</optional>
  134. </dependency>
  135. <!-- PDF -->
  136. <dependency>
  137. <groupId>com.itextpdf</groupId>
  138. <artifactId>itextpdf</artifactId>
  139. <version>5.5.6</version>
  140. <optional>true</optional>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.itextpdf</groupId>
  144. <artifactId>itext-asian</artifactId>
  145. <version>5.2.0</version>
  146. <optional>true</optional>
  147. </dependency>
  148. <dependency>
  149. <groupId>javax.validation</groupId>
  150. <artifactId>validation-api</artifactId>
  151. <version>1.1.0.Final</version>
  152. </dependency>
  153. <!-- 读取Excel -->
  154. <dependency>
  155. <groupId>org.jsoup</groupId>
  156. <artifactId>jsoup</artifactId>
  157. <version>1.8.3</version>
  158. </dependency>
  159. <!-- 模块版本 -->
  160. <dependency>
  161. <groupId>cn.afterturn</groupId>
  162. <artifactId>easypoi-base</artifactId>
  163. <version>${sub.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>cn.afterturn</groupId>
  167. <artifactId>easypoi-annotation</artifactId>
  168. <version>${sub.version}</version>
  169. </dependency>
  170. </dependencies>
  171. </dependencyManagement>
  172. <build>
  173. <plugins>
  174. <plugin>
  175. <groupId>org.sonatype.plugins</groupId>
  176. <artifactId>nexus-staging-maven-plugin</artifactId>
  177. <version>1.6.5</version>
  178. <configuration>
  179. <serverId>ossrh</serverId>
  180. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  181. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  182. </configuration>
  183. </plugin>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-release-plugin</artifactId>
  187. <version>2.5</version>
  188. <configuration>
  189. <autoVersionSubmodules>true</autoVersionSubmodules>
  190. <useReleaseProfile>false</useReleaseProfile>
  191. <releaseProfiles>release</releaseProfiles>
  192. <goals>deploy</goals>
  193. </configuration>
  194. </plugin>
  195. <plugin>
  196. <artifactId>maven-source-plugin</artifactId>
  197. <version>2.1</version>
  198. <configuration>
  199. <attach>true</attach>
  200. </configuration>
  201. <executions>
  202. <execution>
  203. <phase>compile</phase>
  204. <goals>
  205. <goal>jar</goal>
  206. </goals>
  207. </execution>
  208. </executions>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-compiler-plugin</artifactId>
  213. <version>3.0</version>
  214. <configuration>
  215. <source>1.6</source>
  216. <target>1.6</target>
  217. <encoding>UTF-8</encoding>
  218. </configuration>
  219. </plugin>
  220. </plugins>
  221. </build>
  222. <distributionManagement>
  223. <repository>
  224. <id>postaop-pay-platform-release</id>
  225. <url>http://postaop.oicp.net:8081/nexus/content/repositories/postaop-common-release/</url>
  226. </repository>
  227. <snapshotRepository>
  228. <id>postaop-pay-platform-snapshot</id>
  229. <url>http://postaop.oicp.net:8081/nexus/content/repositories/postaop-common-snapshot/</url>
  230. </snapshotRepository>
  231. </distributionManagement>
  232. </project>