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.

299 regels
11 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>Lumer</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. <!--日志 -->
  112. <!-- slf4j -->
  113. <dependency>
  114. <groupId>org.slf4j</groupId>
  115. <artifactId>slf4j-api</artifactId>
  116. <version>${slf4j.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.slf4j</groupId>
  120. <artifactId>slf4j-log4j12</artifactId>
  121. <version>${slf4j.version}</version>
  122. <scope>provided</scope>
  123. </dependency>
  124. <!--spring -->
  125. <dependency>
  126. <groupId>org.springframework</groupId>
  127. <artifactId>spring-web</artifactId>
  128. <version>${spring.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework</groupId>
  132. <artifactId>spring-webmvc</artifactId>
  133. <version>${spring.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.springframework</groupId>
  137. <artifactId>spring-context</artifactId>
  138. <version>${spring.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring-core</artifactId>
  143. <version>${spring.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-beans</artifactId>
  148. <version>${spring.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>javax.servlet</groupId>
  152. <artifactId>servlet-api</artifactId>
  153. <version>2.5</version>
  154. <scope>provided</scope>
  155. <optional>true</optional>
  156. </dependency>
  157. <!-- PDF -->
  158. <dependency>
  159. <groupId>com.itextpdf</groupId>
  160. <artifactId>itextpdf</artifactId>
  161. <version>5.5.6</version>
  162. <optional>true</optional>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.itextpdf</groupId>
  166. <artifactId>itext-asian</artifactId>
  167. <version>5.2.0</version>
  168. <optional>true</optional>
  169. </dependency>
  170. <dependency>
  171. <groupId>javax.validation</groupId>
  172. <artifactId>validation-api</artifactId>
  173. <version>1.1.0.Final</version>
  174. </dependency>
  175. <!-- 读取Excel -->
  176. <dependency>
  177. <groupId>org.jsoup</groupId>
  178. <artifactId>jsoup</artifactId>
  179. <version>1.8.3</version>
  180. </dependency>
  181. <!-- 表达式处理 -->
  182. <dependency>
  183. <groupId>ognl</groupId>
  184. <artifactId>ognl</artifactId>
  185. <version>3.2.6</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.projectlombok</groupId>
  189. <artifactId>lombok</artifactId>
  190. <version>1.16.20</version>
  191. <scope>provided</scope>
  192. </dependency>
  193. <!-- 模块版本 -->
  194. <dependency>
  195. <groupId>cn.afterturn</groupId>
  196. <artifactId>easypoi-base</artifactId>
  197. <version>${sub.version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>cn.afterturn</groupId>
  201. <artifactId>easypoi-annotation</artifactId>
  202. <version>${sub.version}</version>
  203. </dependency>
  204. </dependencies>
  205. </dependencyManagement>
  206. <build>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.sonatype.plugins</groupId>
  210. <artifactId>nexus-staging-maven-plugin</artifactId>
  211. <version>1.6.5</version>
  212. <configuration>
  213. <serverId>ossrh</serverId>
  214. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  215. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  216. </configuration>
  217. </plugin>
  218. <plugin>
  219. <groupId>org.apache.maven.plugins</groupId>
  220. <artifactId>maven-release-plugin</artifactId>
  221. <version>2.5</version>
  222. <configuration>
  223. <autoVersionSubmodules>true</autoVersionSubmodules>
  224. <useReleaseProfile>false</useReleaseProfile>
  225. <releaseProfiles>release</releaseProfiles>
  226. <goals>deploy</goals>
  227. </configuration>
  228. </plugin>
  229. <plugin>
  230. <artifactId>maven-source-plugin</artifactId>
  231. <version>2.1</version>
  232. <configuration>
  233. <attach>true</attach>
  234. </configuration>
  235. <executions>
  236. <execution>
  237. <phase>compile</phase>
  238. <goals>
  239. <goal>jar</goal>
  240. </goals>
  241. </execution>
  242. </executions>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-compiler-plugin</artifactId>
  247. <version>3.0</version>
  248. <configuration>
  249. <source>1.8</source>
  250. <target>1.8</target>
  251. <encoding>UTF-8</encoding>
  252. </configuration>
  253. </plugin>
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-javadoc-plugin</artifactId>
  257. <version>2.6</version>
  258. <executions>
  259. <execution>
  260. <id>attach-javadocs</id>
  261. <goals>
  262. <goal>jar</goal>
  263. </goals>
  264. <configuration>
  265. <additionalparam>-Xdoclint:none</additionalparam>
  266. </configuration>
  267. </execution>
  268. </executions>
  269. <configuration>
  270. <encoding>UTF-8</encoding>
  271. <failOnError>false</failOnError>
  272. </configuration>
  273. </plugin>
  274. </plugins>
  275. </build>
  276. </project>