pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. <parent>
  5. <groupId>com.dianping</groupId>
  6. <artifactId>dianping-job</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>dianping-job-web</artifactId>
  10. <version>1.0.1-SNAPSHOT</version>
  11. <packaging>war</packaging>
  12. <name>dianping-job-web</name>
  13. <url>http://maven.apache.org</url>
  14. <properties>
  15. <spring.version>3.2.14.RELEASE</spring.version>
  16. </properties>
  17. <dependencies>
  18. <!-- springframe start -->
  19. <dependency>
  20. <groupId>org.springframework</groupId>
  21. <artifactId>spring-webmvc</artifactId>
  22. <version>${spring.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework</groupId>
  26. <artifactId>spring-context-support</artifactId>
  27. <version>${spring.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework</groupId>
  31. <artifactId>spring-orm</artifactId>
  32. <version>${spring.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-test</artifactId>
  37. <version>${spring.version}</version>
  38. </dependency>
  39. <!-- springframe end -->
  40. <!-- aspectjweaver (support spring aop) -->
  41. <dependency>
  42. <groupId>org.aspectj</groupId>
  43. <artifactId>aspectjweaver</artifactId>
  44. <version>1.8.7</version>
  45. </dependency>
  46. <!-- jackson (support spring json) -->
  47. <dependency>
  48. <groupId>org.codehaus.jackson</groupId>
  49. <artifactId>jackson-mapper-asl</artifactId>
  50. <version>1.9.13</version>
  51. </dependency>
  52. <!-- slf4j -->
  53. <dependency>
  54. <groupId>org.slf4j</groupId>
  55. <artifactId>slf4j-log4j12</artifactId>
  56. <version>1.7.5</version>
  57. </dependency>
  58. <!-- freemarker -->
  59. <dependency>
  60. <groupId>org.freemarker</groupId>
  61. <artifactId>freemarker</artifactId>
  62. <version>2.3.20</version>
  63. </dependency>
  64. <!-- commons-beanutils -->
  65. <dependency>
  66. <groupId>commons-beanutils</groupId>
  67. <artifactId>commons-beanutils</artifactId>
  68. <version>1.9.2</version>
  69. </dependency>
  70. <!-- commons-lang -->
  71. <dependency>
  72. <groupId>commons-lang</groupId>
  73. <artifactId>commons-lang</artifactId>
  74. <version>2.6</version>
  75. </dependency>
  76. <!-- servlet -->
  77. <dependency>
  78. <groupId>javax.servlet</groupId>
  79. <artifactId>servlet-api</artifactId>
  80. <version>2.5</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>javax.servlet.jsp</groupId>
  85. <artifactId>jsp-api</artifactId>
  86. <version>2.1</version>
  87. <scope>provided</scope>
  88. </dependency>
  89. <!-- junit -->
  90. <dependency>
  91. <groupId>junit</groupId>
  92. <artifactId>junit</artifactId>
  93. <version>4.11</version>
  94. <scope>test</scope>
  95. </dependency>
  96. <!-- c3p0 -->
  97. <dependency>
  98. <groupId>c3p0</groupId>
  99. <artifactId>c3p0</artifactId>
  100. <version>0.9.1.2</version>
  101. </dependency>
  102. <!-- mybatis-spring -->
  103. <dependency>
  104. <groupId>org.mybatis</groupId>
  105. <artifactId>mybatis-spring</artifactId>
  106. <version>1.2.2</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.mybatis</groupId>
  110. <artifactId>mybatis</artifactId>
  111. <version>3.2.8</version>
  112. </dependency>
  113. <!-- mysql-connector -->
  114. <dependency>
  115. <groupId>mysql</groupId>
  116. <artifactId>mysql-connector-java</artifactId>
  117. <version>5.1.29</version>
  118. </dependency>
  119. <!-- quartz :quartz-2.2.1/c3p0-0.9.1.1/slf4j-api-1.6.6 -->
  120. <dependency>
  121. <groupId>org.quartz-scheduler</groupId>
  122. <artifactId>quartz</artifactId>
  123. <version>2.2.1</version>
  124. </dependency>
  125. <!-- httpclient -->
  126. <dependency>
  127. <groupId>org.apache.httpcomponents</groupId>
  128. <artifactId>httpclient</artifactId>
  129. <version>4.3.6</version>
  130. </dependency>
  131. <!-- dianping-job-client -->
  132. <dependency>
  133. <groupId>com.dianping</groupId>
  134. <artifactId>dianping-job-client</artifactId>
  135. <version>1.0.1-SNAPSHOT</version>
  136. </dependency>
  137. </dependencies>
  138. <build>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-compiler-plugin</artifactId>
  143. <version>3.1</version>
  144. <configuration>
  145. <source>1.6</source>
  146. <target>1.6</target>
  147. <encoding>UTF8</encoding>
  148. </configuration>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-war-plugin</artifactId>
  153. <version>2.2</version>
  154. <configuration>
  155. <archiveClasses>true</archiveClasses>
  156. </configuration>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. </project>