Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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