pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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.xt</groupId>
  5. <artifactId>xtdsp</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <description>xintong Data Sync Platform</description>
  9. <dependencies>
  10. <dependency>
  11. <groupId>org.springframework</groupId>
  12. <artifactId>spring-webmvc</artifactId>
  13. <version>${spring.version}</version>
  14. <scope>compile</scope>
  15. </dependency>
  16. <dependency>
  17. <groupId>org.springframework</groupId>
  18. <artifactId>spring-jdbc</artifactId>
  19. <version>${spring.version}</version>
  20. <scope>compile</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework</groupId>
  24. <artifactId>spring-context-support</artifactId>
  25. <version>${spring.version}</version>
  26. <scope>compile</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.slf4j</groupId>
  30. <artifactId>slf4j-log4j12</artifactId>
  31. <version>1.7.12</version>
  32. <scope>compile</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba</groupId>
  36. <artifactId>druid</artifactId>
  37. <version>1.0.24</version>
  38. </dependency>
  39. <!-- mybatis分页插件 -->
  40. <dependency>
  41. <groupId>com.yuanxd.tools</groupId>
  42. <artifactId>x-tools-pagehelper</artifactId>
  43. <version>0.0.1-SNAPSHOT</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mybatis</groupId>
  47. <artifactId>mybatis-spring</artifactId>
  48. <version>1.2.3</version>
  49. <scope>compile</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.mybatis</groupId>
  53. <artifactId>mybatis</artifactId>
  54. <version>3.3.0</version>
  55. <scope>compile</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>javax.servlet</groupId>
  59. <artifactId>servlet-api</artifactId>
  60. <version>2.5</version>
  61. <scope>provided</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>javax.servlet</groupId>
  65. <artifactId>jstl</artifactId>
  66. <version>1.2</version>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>taglibs</groupId>
  71. <artifactId>standard</artifactId>
  72. <version>1.1.2</version>
  73. <scope>provided</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>javax.servlet.jsp</groupId>
  77. <artifactId>jsp-api</artifactId>
  78. <version>2.2</version>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.fasterxml.jackson.core</groupId>
  83. <artifactId>jackson-core</artifactId>
  84. <version>2.6.0</version>
  85. <scope>compile</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.fasterxml.jackson.core</groupId>
  89. <artifactId>jackson-databind</artifactId>
  90. <version>2.6.0</version>
  91. <scope>compile</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>fastjson</artifactId>
  96. <version>1.2.6</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.aspectj</groupId>
  100. <artifactId>aspectjrt</artifactId>
  101. <version>1.8.5</version>
  102. <scope>compile</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.aspectj</groupId>
  106. <artifactId>aspectjweaver</artifactId>
  107. <version>1.8.5</version>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.oracle</groupId>
  112. <artifactId>ojdbc6</artifactId>
  113. <version>11.2.0</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.h2database</groupId>
  117. <artifactId>h2</artifactId>
  118. <version>1.4.192</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.quartz-scheduler</groupId>
  122. <artifactId>quartz</artifactId>
  123. <version>2.2.3</version>
  124. </dependency>
  125. </dependencies>
  126. <build>
  127. <!-- 插件配置 -->
  128. <pluginManagement>
  129. <plugins>
  130. <!-- compiler插件, 设定JDK版本 -->
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-compiler-plugin</artifactId>
  134. <version>3.0</version>
  135. <configuration>
  136. <source>${jdk.version}</source>
  137. <target>${jdk.version}</target>
  138. <showWarnings>true</showWarnings>
  139. </configuration>
  140. </plugin>
  141. <!-- war插件, 设定war名称不带版本号 -->
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-war-plugin</artifactId>
  145. <version>2.2</version>
  146. <configuration>
  147. <warName>${project.artifactId}</warName>
  148. </configuration>
  149. </plugin>
  150. <!-- resource插件, 设定编码 -->
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-resources-plugin</artifactId>
  154. <version>2.5</version>
  155. <configuration>
  156. <encoding>${project.build.sourceEncoding}</encoding>
  157. </configuration>
  158. </plugin>
  159. <!-- jar相关插件 -->
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-jar-plugin</artifactId>
  163. <version>2.4</version>
  164. <configuration>
  165. <archive>
  166. <manifest>
  167. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  168. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  169. </manifest>
  170. </archive>
  171. </configuration>
  172. </plugin>
  173. <!-- clean插件 -->
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-clean-plugin</artifactId>
  177. <version>2.4.1</version>
  178. </plugin>
  179. <!-- eclipse插件,设定下载Source并屏蔽.svn文件 -->
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-eclipse-plugin</artifactId>
  183. <version>2.9</version>
  184. <configuration>
  185. <sourceExcludes>
  186. <sourceExclude>**/.svn/</sourceExclude>
  187. </sourceExcludes>
  188. <downloadSources>true</downloadSources>
  189. <downloadJavadocs>false</downloadJavadocs>
  190. </configuration>
  191. </plugin>
  192. <!-- source attach plugin -->
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-source-plugin</artifactId>
  196. <version>2.1.2</version>
  197. <executions>
  198. <execution>
  199. <id>attach-sources</id>
  200. <goals>
  201. <goal>jar</goal>
  202. </goals>
  203. </execution>
  204. </executions>
  205. </plugin>
  206. </plugins>
  207. </pluginManagement>
  208. <plugins>
  209. <plugin>
  210. <artifactId>maven-war-plugin</artifactId>
  211. </plugin>
  212. <!-- compiler插件, 设定JDK版本 -->
  213. <plugin>
  214. <groupId>org.mybatis.generator</groupId>
  215. <artifactId>mybatis-generator-maven-plugin</artifactId>
  216. <version>1.3.2</version>
  217. <dependencies>
  218. <dependency>
  219. <groupId>com.oracle</groupId>
  220. <artifactId>ojdbc6</artifactId>
  221. <version>11.2.0</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.h2database</groupId>
  225. <artifactId>h2</artifactId>
  226. <version>1.4.192</version>
  227. </dependency>
  228. </dependencies>
  229. <configuration>
  230. <configurationFile>${basedir}\src\main\resources\generatorConfig.xml</configurationFile>
  231. <overwrite>true</overwrite>
  232. </configuration>
  233. </plugin>
  234. </plugins>
  235. </build>
  236. <properties>
  237. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  238. <!-- java 版本 -->
  239. <jdk.version>1.7</jdk.version>
  240. <spring.version>4.3.2.RELEASE</spring.version>
  241. </properties>
  242. </project>