pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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.how2java.tmall</groupId>
  5. <artifactId>tmall_ssm</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <properties>
  9. <spring.version>4.1.3.RELEASE</spring.version>
  10. <pagehelper.version>5.1.2-beta</pagehelper.version>
  11. <mysql.version>5.1.6</mysql.version>
  12. <mybatis.spring.version>1.2.3</mybatis.spring.version>
  13. <mybatis.version>3.1.1</mybatis.version>
  14. <junit.version>4.12</junit.version>
  15. <jstl.version>1.2</jstl.version>
  16. <jsqlparser.version>1.0</jsqlparser.version>
  17. <jackson.version>1.2.7</jackson.version>
  18. <servlet-api.version>3.1.0</servlet-api.version>
  19. <druid.version>1.0.18</druid.version>
  20. <log4j.version>1.2.16</log4j.version>
  21. <commons-logging.version>1.2</commons-logging.version>
  22. <commons-fileupload.version>1.2.1</commons-fileupload.version>
  23. <commons-io.version>1.3.2</commons-io.version>
  24. <commons-lang.version>2.6</commons-lang.version>
  25. <aopalliance.version>1.0</aopalliance.version>
  26. <mybatis-generator.version>1.3.5</mybatis-generator.version>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>junit</groupId>
  31. <artifactId>junit</artifactId>
  32. <version>${junit.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.mybatis</groupId>
  36. <artifactId>mybatis</artifactId>
  37. <version>${mybatis.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.mybatis</groupId>
  41. <artifactId>mybatis-spring</artifactId>
  42. <version>${mybatis.spring.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>mysql</groupId>
  46. <artifactId>mysql-connector-java</artifactId>
  47. <version>8.0.15</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>druid</artifactId>
  52. <version>${druid.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring-context</artifactId>
  57. <version>${spring.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework</groupId>
  61. <artifactId>spring-test</artifactId>
  62. <version>${spring.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework</groupId>
  66. <artifactId>spring-beans</artifactId>
  67. <version>${spring.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework</groupId>
  71. <artifactId>spring-webmvc</artifactId>
  72. <version>${spring.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-jdbc</artifactId>
  77. <version>${spring.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework</groupId>
  81. <artifactId>spring-aspects</artifactId>
  82. <version>${spring.version}</version>
  83. </dependency>
  84. <!-- JSP相关 -->
  85. <dependency>
  86. <groupId>jstl</groupId>
  87. <artifactId>jstl</artifactId>
  88. <version>${jstl.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>javax.servlet</groupId>
  92. <artifactId>javax.servlet-api</artifactId>
  93. <version>${servlet-api.version}</version>
  94. <scope>provided</scope>
  95. </dependency>
  96. <!-- pageHelper -->
  97. <dependency>
  98. <groupId>com.github.pagehelper</groupId>
  99. <artifactId>pagehelper</artifactId>
  100. <version>${pagehelper.version}</version>
  101. </dependency>
  102. <!--jsqlparser-->
  103. <dependency>
  104. <groupId>com.github.jsqlparser</groupId>
  105. <artifactId>jsqlparser</artifactId>
  106. <version>${jsqlparser.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>log4j</groupId>
  110. <artifactId>log4j</artifactId>
  111. <version>${log4j.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>commons-logging</groupId>
  115. <artifactId>commons-logging</artifactId>
  116. <version>${commons-logging.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>commons-fileupload</groupId>
  120. <artifactId>commons-fileupload</artifactId>
  121. <version>${commons-fileupload.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>commons-io</groupId>
  125. <artifactId>commons-io</artifactId>
  126. <version>${commons-io.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>commons-lang</groupId>
  130. <artifactId>commons-lang</artifactId>
  131. <version>${commons-lang.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>aopalliance</groupId>
  135. <artifactId>aopalliance</artifactId>
  136. <version>${aopalliance.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.mybatis.generator</groupId>
  140. <artifactId>mybatis-generator-core</artifactId>
  141. <version>${mybatis-generator.version}</version>
  142. </dependency>
  143. </dependencies>
  144. <build>
  145. <finalName>${project.artifactId}</finalName>
  146. <plugins>
  147. <!-- 资源文件拷贝插件 -->
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-resources-plugin</artifactId>
  151. <version>2.7</version>
  152. <configuration>
  153. <encoding>UTF-8</encoding>
  154. </configuration>
  155. </plugin>
  156. <!-- java编译插件 -->
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-compiler-plugin</artifactId>
  160. <version>3.2</version>
  161. <configuration>
  162. <source>1.8</source>
  163. <target>1.8</target>
  164. <encoding>UTF-8</encoding>
  165. </configuration>
  166. </plugin>
  167. </plugins>
  168. <pluginManagement>
  169. <plugins>
  170. <!-- 配置Tomcat插件 -->
  171. <plugin>
  172. <groupId>org.apache.tomcat.maven</groupId>
  173. <artifactId>tomcat7-maven-plugin</artifactId>
  174. <version>2.2</version>
  175. </plugin>
  176. </plugins>
  177. </pluginManagement>
  178. <resources>
  179. <resource>
  180. <directory>src/main/resources</directory>
  181. <includes>
  182. <include>**/*.properties</include>
  183. <include>**/*.xml</include>
  184. <include>**/*.tld</include>
  185. </includes>
  186. <filtering>false</filtering>
  187. </resource>
  188. <resource>
  189. <directory>src/main/java</directory>
  190. <includes>
  191. <include>**/*.properties</include>
  192. <include>**/*.xml</include>
  193. </includes>
  194. <filtering>false</filtering>
  195. </resource>
  196. </resources>
  197. </build>
  198. </project>