pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.synyi.edc</groupId>
  5. <artifactId>synyi-service</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0</version>
  8. <name>synyi-service</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <!-- spring版本号 -->
  12. <spring.version>4.0.2.RELEASE</spring.version>
  13. <!-- mybatis版本号 -->
  14. <mybatis.version>3.2.6</mybatis.version>
  15. <!-- log4j日志文件管理包版本 -->
  16. <slf4j.version>1.7.7</slf4j.version>
  17. <log4j.version>1.2.17</log4j.version>
  18. <servlet.version>3.1.0</servlet.version>
  19. </properties>
  20. <dependencies>
  21. <!-- <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId>
  22. <version>4.11</version> 表示开发的时候引入,发布的时候不会加载此包 <scope>test</scope> </dependency> -->
  23. <!-- spring核心包 -->
  24. <dependency>
  25. <groupId>org.springframework</groupId>
  26. <artifactId>spring-core</artifactId>
  27. <version>${spring.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework</groupId>
  31. <artifactId>spring-web</artifactId>
  32. <version>${spring.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-oxm</artifactId>
  37. <version>${spring.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework</groupId>
  41. <artifactId>spring-tx</artifactId>
  42. <version>${spring.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework</groupId>
  46. <artifactId>spring-jdbc</artifactId>
  47. <version>${spring.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework</groupId>
  51. <artifactId>spring-webmvc</artifactId>
  52. <version>${spring.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring-aop</artifactId>
  57. <version>${spring.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework</groupId>
  61. <artifactId>spring-context-support</artifactId>
  62. <version>${spring.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework</groupId>
  66. <artifactId>spring-test</artifactId>
  67. <version>${spring.version}</version>
  68. </dependency>
  69. <!-- mybatis核心包 -->
  70. <dependency>
  71. <groupId>org.mybatis</groupId>
  72. <artifactId>mybatis</artifactId>
  73. <version>${mybatis.version}</version>
  74. </dependency>
  75. <!-- mybatis/spring包 -->
  76. <dependency>
  77. <groupId>org.mybatis</groupId>
  78. <artifactId>mybatis-spring</artifactId>
  79. <version>1.2.2</version>
  80. </dependency>
  81. <!-- https://mvnrepository.com/artifact/dom4j/dom4j -->
  82. <dependency>
  83. <groupId>dom4j</groupId>
  84. <artifactId>dom4j</artifactId>
  85. <version>1.6.1</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.commons</groupId>
  89. <artifactId>commons-lang3</artifactId>
  90. <version>3.7</version>
  91. </dependency>
  92. <!-- 导入java ee jar 包 -->
  93. <!-- <dependency>
  94. <groupId>javax</groupId>
  95. <artifactId>javaee-api</artifactId>
  96. <version>7.0</version>
  97. </dependency> -->
  98. <dependency>
  99. <groupId>javax.servlet</groupId>
  100. <artifactId>javax.servlet-api</artifactId>
  101. <version>${servlet.version}</version>
  102. <scope>provided</scope>
  103. </dependency>
  104. <!-- 导入Mysql数据库链接jar包
  105. <dependency>
  106. <groupId>mysql</groupId>
  107. <artifactId>mysql-connector-java</artifactId>
  108. <version>5.1.30</version>
  109. </dependency>-->
  110. <!-- 导入dbcp的jar包,用来在applicationContext.xml中配置数据库 -->
  111. <dependency>
  112. <groupId>commons-dbcp</groupId>
  113. <artifactId>commons-dbcp</artifactId>
  114. <version>1.2.2</version>
  115. </dependency>
  116. <!-- JSTL标签类 -->
  117. <dependency>
  118. <groupId>jstl</groupId>
  119. <artifactId>jstl</artifactId>
  120. <version>1.2</version>
  121. </dependency>
  122. <!-- 日志文件管理包 -->
  123. <!-- log start -->
  124. <dependency>
  125. <groupId>log4j</groupId>
  126. <artifactId>log4j</artifactId>
  127. <version>${log4j.version}</version>
  128. </dependency>
  129. <!-- 格式化对象,方便输出日志 -->
  130. <dependency>
  131. <groupId>com.alibaba</groupId>
  132. <artifactId>fastjson</artifactId>
  133. <version>1.1.41</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.slf4j</groupId>
  137. <artifactId>slf4j-api</artifactId>
  138. <version>${slf4j.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.slf4j</groupId>
  142. <artifactId>slf4j-log4j12</artifactId>
  143. <version>${slf4j.version}</version>
  144. </dependency>
  145. <!-- log end -->
  146. <!-- 映入JSON -->
  147. <dependency>
  148. <groupId>org.codehaus.jackson</groupId>
  149. <artifactId>jackson-mapper-asl</artifactId>
  150. <version>1.9.13</version>
  151. </dependency>
  152. <!-- 上传组件包 -->
  153. <dependency>
  154. <groupId>commons-fileupload</groupId>
  155. <artifactId>commons-fileupload</artifactId>
  156. <version>1.3.1</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>commons-io</groupId>
  160. <artifactId>commons-io</artifactId>
  161. <version>2.4</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>commons-codec</groupId>
  165. <artifactId>commons-codec</artifactId>
  166. <version>1.9</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>postgresql</groupId>
  170. <artifactId>postgresql</artifactId>
  171. <version>9.1-901.jdbc4</version>
  172. </dependency>
  173. </dependencies>
  174. <build>
  175. <finalName>synyi-service</finalName>
  176. <plugins>
  177. <plugin>
  178. <groupId>org.apache.tomcat.maven</groupId>
  179. <artifactId>tomcat7-maven-plugin</artifactId>
  180. <version>2.2</version>
  181. <configuration>
  182. <port>8080</port>
  183. <path>/synyi-service</path>
  184. <uriEncoding>UTF-8</uriEncoding>
  185. <server>tomcat7</server>
  186. </configuration>
  187. </plugin>
  188. </plugins>
  189. </build>
  190. </project>