[关闭]
@wxf 2017-06-03T18:16:33.000000Z 字数 6078 阅读 781

system-parent项目的pom.xml

其他


  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.wxf</groupId>
  5. <artifactId>system-parent</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>pom</packaging>
  8. <!-- 集中定义依赖版本号 -->
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <junit.version>4.12</junit.version>
  12. <spring.version>4.1.3.RELEASE</spring.version>
  13. <mybatis.version>3.2.8</mybatis.version>
  14. <mybatis.spring.version>1.2.2</mybatis.spring.version>
  15. <mybatis.paginator.version>1.2.15</mybatis.paginator.version>
  16. <mysql.version>5.1.32</mysql.version>
  17. <slf4j.version>1.6.4</slf4j.version>
  18. <jackson.version>2.4.2</jackson.version>
  19. <druid.version>1.0.9</druid.version>
  20. <httpclient.version>4.3.5</httpclient.version>
  21. <jstl.version>1.2</jstl.version>
  22. <servlet-api.version>2.5</servlet-api.version>
  23. <jsp-api.version>2.0</jsp-api.version>
  24. <joda-time.version>2.5</joda-time.version>
  25. <commons-lang3.version>3.3.2</commons-lang3.version>
  26. <commons-io.version>1.3.2</commons-io.version>
  27. <commons-net.version>3.3</commons-net.version>
  28. <pagehelper.version>4.2.1</pagehelper.version>
  29. <jsqlparser.version>0.9.1</jsqlparser.version>
  30. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  31. <jedis.version>2.7.2</jedis.version>
  32. <solrj.version>4.10.3</solrj.version>
  33. </properties>
  34. <dependencyManagement>
  35. <dependencies>
  36. <!-- 单元测试 -->
  37. <dependency>
  38. <groupId>junit</groupId>
  39. <artifactId>junit</artifactId>
  40. <version>${junit.version}</version>
  41. <scope>test</scope>
  42. </dependency>
  43. <!-- 时间操作组件 -->
  44. <dependency>
  45. <groupId>joda-time</groupId>
  46. <artifactId>joda-time</artifactId>
  47. <version>${joda-time.version}</version>
  48. </dependency>
  49. <!-- Apache工具组件 -->
  50. <dependency>
  51. <groupId>org.apache.commons</groupId>
  52. <artifactId>commons-lang3</artifactId>
  53. <version>${commons-lang3.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-io</artifactId>
  58. <version>${commons-io.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>commons-net</groupId>
  62. <artifactId>commons-net</artifactId>
  63. <version>${commons-net.version}</version>
  64. </dependency>
  65. <!-- Jackson Json处理工具包 -->
  66. <dependency>
  67. <groupId>com.fasterxml.jackson.core</groupId>
  68. <artifactId>jackson-databind</artifactId>
  69. <version>${jackson.version}</version>
  70. </dependency>
  71. <!-- httpclient -->
  72. <dependency>
  73. <groupId>org.apache.httpcomponents</groupId>
  74. <artifactId>httpclient</artifactId>
  75. <version>${httpclient.version}</version>
  76. </dependency>
  77. <!-- 日志处理 -->
  78. <dependency>
  79. <groupId>org.slf4j</groupId>
  80. <artifactId>slf4j-log4j12</artifactId>
  81. <version>${slf4j.version}</version>
  82. </dependency>
  83. <!-- Mybatis -->
  84. <dependency>
  85. <groupId>org.mybatis</groupId>
  86. <artifactId>mybatis</artifactId>
  87. <version>${mybatis.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.mybatis</groupId>
  91. <artifactId>mybatis-spring</artifactId>
  92. <version>${mybatis.spring.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.github.miemiedev</groupId>
  96. <artifactId>mybatis-paginator</artifactId>
  97. <version>${mybatis.paginator.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.github.pagehelper</groupId>
  101. <artifactId>pagehelper</artifactId>
  102. <version>${pagehelper.version}</version>
  103. </dependency>
  104. <!-- MySql -->
  105. <dependency>
  106. <groupId>mysql</groupId>
  107. <artifactId>mysql-connector-java</artifactId>
  108. <version>${mysql.version}</version>
  109. </dependency>
  110. <!-- 连接池 -->
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>druid</artifactId>
  114. <version>${druid.version}</version>
  115. </dependency>
  116. <!-- Spring -->
  117. <dependency>
  118. <groupId>org.springframework</groupId>
  119. <artifactId>spring-context</artifactId>
  120. <version>${spring.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springframework</groupId>
  124. <artifactId>spring-beans</artifactId>
  125. <version>${spring.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.springframework</groupId>
  129. <artifactId>spring-webmvc</artifactId>
  130. <version>${spring.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework</groupId>
  134. <artifactId>spring-jdbc</artifactId>
  135. <version>${spring.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.springframework</groupId>
  139. <artifactId>spring-aspects</artifactId>
  140. <version>${spring.version}</version>
  141. </dependency>
  142. <!-- JSP相关 -->
  143. <dependency>
  144. <groupId>jstl</groupId>
  145. <artifactId>jstl</artifactId>
  146. <version>${jstl.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>javax.servlet</groupId>
  150. <artifactId>servlet-api</artifactId>
  151. <version>${servlet-api.version}</version>
  152. <scope>provided</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>javax.servlet</groupId>
  156. <artifactId>jsp-api</artifactId>
  157. <version>${jsp-api.version}</version>
  158. <scope>provided</scope>
  159. </dependency>
  160. <!-- 文件上传组件 -->
  161. <dependency>
  162. <groupId>commons-fileupload</groupId>
  163. <artifactId>commons-fileupload</artifactId>
  164. <version>${commons-fileupload.version}</version>
  165. </dependency>
  166. <!-- Redis客户端 -->
  167. <dependency>
  168. <groupId>redis.clients</groupId>
  169. <artifactId>jedis</artifactId>
  170. <version>${jedis.version}</version>
  171. </dependency>
  172. <!-- solr客户端 -->
  173. <dependency>
  174. <groupId>org.apache.solr</groupId>
  175. <artifactId>solr-solrj</artifactId>
  176. <version>${solrj.version}</version>
  177. </dependency>
  178. </dependencies>
  179. </dependencyManagement>
  180. <build>
  181. <finalName>${project.artifactId}</finalName>
  182. <plugins>
  183. <!-- maven自动化生成插件 -->
  184. <plugin>
  185. <groupId>org.mybatis.generator</groupId>
  186. <artifactId>mybatis-generator-maven-plugin</artifactId>
  187. <version>1.3.2</version>
  188. <configuration>
  189. <verbose>true</verbose>
  190. <overwrite>true</overwrite>
  191. </configuration>
  192. </plugin>
  193. <!-- 资源文件拷贝插件 -->
  194. <plugin>
  195. <groupId>org.apache.maven.plugins</groupId>
  196. <artifactId>maven-resources-plugin</artifactId>
  197. <version>2.7</version>
  198. <configuration>
  199. <encoding>UTF-8</encoding>
  200. </configuration>
  201. </plugin>
  202. <!-- java编译插件 -->
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-compiler-plugin</artifactId>
  206. <version>3.2</version>
  207. <configuration>
  208. <source>1.7</source>
  209. <target>1.7</target>
  210. <encoding>UTF-8</encoding>
  211. </configuration>
  212. </plugin>
  213. </plugins>
  214. <pluginManagement>
  215. <plugins>
  216. <!-- 配置Tomcat插件 -->
  217. <plugin>
  218. <groupId>org.apache.tomcat.maven</groupId>
  219. <artifactId>tomcat7-maven-plugin</artifactId>
  220. <version>2.2</version>
  221. </plugin>
  222. </plugins>
  223. </pluginManagement>
  224. </build>
  225. </project>
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注