pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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>com.jsjty</groupId>
  5. <artifactId>jdc2</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <dependencies>
  9. <dependency>
  10. <groupId>com.xtframe.jdc</groupId>
  11. <artifactId>web</artifactId>
  12. <version>1.0.11-SNAPSHOT</version>
  13. </dependency>
  14. <dependency>
  15. <groupId>com.xtframe.jdc</groupId>
  16. <artifactId>io</artifactId>
  17. <version>1.0.11-SNAPSHOT</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.apache.httpcomponents</groupId>
  21. <artifactId>httpclient</artifactId>
  22. <version>4.5</version>
  23. </dependency>
  24. <!-- j2ee web spec -->
  25. <dependency>
  26. <groupId>javax.servlet</groupId>
  27. <artifactId>servlet-api</artifactId>
  28. <version>2.5</version>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>javax.servlet</groupId>
  33. <artifactId>jstl</artifactId>
  34. <version>1.2</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>taglibs</groupId>
  38. <artifactId>standard</artifactId>
  39. <version>1.1.2</version>
  40. <scope>provided</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>javax.servlet.jsp</groupId>
  44. <artifactId>jsp-api</artifactId>
  45. <version>2.2</version>
  46. <scope>provided</scope>
  47. </dependency>
  48. <!-- test -->
  49. <dependency>
  50. <groupId>junit</groupId>
  51. <artifactId>junit</artifactId>
  52. <version>4.11</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring-test</artifactId>
  57. <version>${spring.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework</groupId>
  61. <artifactId>spring-orm</artifactId>
  62. <version>4.0.7.RELEASE</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>net.sf.json-lib</groupId>
  66. <artifactId>json-lib</artifactId>
  67. <classifier>jdk15</classifier>
  68. <version>2.4</version>
  69. </dependency>
  70. <!-- 加入druid数据源依赖包 -->
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>druid</artifactId>
  74. <version>1.0.15</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.alibaba</groupId>
  78. <artifactId>fastjson</artifactId>
  79. <version>1.2.6</version>
  80. </dependency>
  81. <!-- 加入mysql驱动依赖包 -->
  82. <dependency>
  83. <groupId>mysql</groupId>
  84. <artifactId>mysql-connector-java</artifactId>
  85. <version>5.1.25</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.poi</groupId>
  89. <artifactId>poi</artifactId>
  90. <version>3.9</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>commons-codec</groupId>
  94. <artifactId>commons-codec</artifactId>
  95. <version>1.10</version>
  96. </dependency>
  97. <!-- solr -->
  98. <dependency>
  99. <groupId>org.apache.solr</groupId>
  100. <artifactId>solr-solrj</artifactId>
  101. <version>5.2.1</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>commons-fileupload</groupId>
  105. <artifactId>commons-fileupload</artifactId>
  106. <version>1.2.2</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.google.code.gson</groupId>
  110. <artifactId>gson</artifactId>
  111. <version>2.3.1</version>
  112. </dependency>
  113. <!-- 网页解析工具 -->
  114. <dependency>
  115. <groupId>org.htmlparser</groupId>
  116. <artifactId>htmlparser</artifactId>
  117. <version>1.6</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.yuanxd.tools</groupId>
  121. <artifactId>x-tools-hscbdt</artifactId>
  122. <version>1.0-SNAPSHOT</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.mayh.jts</groupId>
  126. <artifactId>JTS</artifactId>
  127. <version>0.0.1-snap</version>
  128. </dependency>
  129. </dependencies>
  130. <build>
  131. <finalName>${project.artifactId}</finalName>
  132. <plugins>
  133. <plugin>
  134. <artifactId>maven-war-plugin</artifactId>
  135. <configuration>
  136. <warName>jdc</warName>
  137. </configuration>
  138. </plugin>
  139. <!-- compiler插件, 设定JDK版本 -->
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-compiler-plugin</artifactId>
  143. <version>3.0</version>
  144. <configuration>
  145. <source>${jdk.version}</source>
  146. <target>${jdk.version}</target>
  147. <showWarnings>true</showWarnings>
  148. </configuration>
  149. </plugin>
  150. <!-- jetty插件, 设定context path与spring profile -->
  151. <plugin>
  152. <groupId>org.mortbay.jetty</groupId>
  153. <artifactId>jetty-maven-plugin</artifactId>
  154. <version>${jetty.version}</version>
  155. <configuration>
  156. <stopPort>8889</stopPort>
  157. <stopKey>stop</stopKey>
  158. <connectors>
  159. <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
  160. <port>8080</port>
  161. </connector>
  162. </connectors>
  163. <webAppConfig>
  164. <contextPath>/${project.build.finalName}</contextPath>
  165. </webAppConfig>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-surefire-plugin</artifactId>
  171. <version>2.12.4</version>
  172. <configuration>
  173. <skipTests>true</skipTests>
  174. </configuration>
  175. </plugin>
  176. </plugins>
  177. </build>
  178. <properties>
  179. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  180. <!-- java 版本 -->
  181. <jdk.version>1.7</jdk.version>
  182. <jetty.version>8.1.8.v20121106</jetty.version>
  183. <!-- spring 版本 -->
  184. <spring.version>4.1.2.RELEASE</spring.version>
  185. </properties>
  186. <dependencyManagement>
  187. <dependencies>
  188. <dependency>
  189. <groupId>commons-beanutils</groupId>
  190. <artifactId>commons-beanutils</artifactId>
  191. <version>1.8.3</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>commons-logging</groupId>
  195. <artifactId>commons-logging</artifactId>
  196. <version>1.2</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.springframework</groupId>
  200. <artifactId>spring-beans</artifactId>
  201. <version>4.1.2.RELEASE</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.vividsolutions</groupId>
  205. <artifactId>jts</artifactId>
  206. <version>1.13</version>
  207. </dependency>
  208. </dependencies>
  209. </dependencyManagement>
  210. </project>