pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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. <dependency>
  126. <groupId>com.yuanxd.tools</groupId>
  127. <artifactId>x-tools-io</artifactId>
  128. <version>1.0-SNAPSHOT</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.xt</groupId>
  132. <artifactId>xtdsp-core</artifactId>
  133. <version>0.0.1-SNAPSHOT</version>
  134. </dependency>
  135. </dependencies>
  136. <build>
  137. <!-- 插件配置 -->
  138. <pluginManagement>
  139. <plugins>
  140. <!-- compiler插件, 设定JDK版本 -->
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-compiler-plugin</artifactId>
  144. <version>3.0</version>
  145. <configuration>
  146. <source>${jdk.version}</source>
  147. <target>${jdk.version}</target>
  148. <showWarnings>true</showWarnings>
  149. </configuration>
  150. </plugin>
  151. <!-- war插件, 设定war名称不带版本号 -->
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-war-plugin</artifactId>
  155. <version>2.2</version>
  156. <configuration>
  157. <warName>${project.artifactId}</warName>
  158. </configuration>
  159. </plugin>
  160. <!-- resource插件, 设定编码 -->
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-resources-plugin</artifactId>
  164. <version>2.5</version>
  165. <configuration>
  166. <encoding>${project.build.sourceEncoding}</encoding>
  167. </configuration>
  168. </plugin>
  169. <!-- jar相关插件 -->
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-jar-plugin</artifactId>
  173. <version>2.4</version>
  174. <configuration>
  175. <archive>
  176. <manifest>
  177. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  178. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  179. </manifest>
  180. </archive>
  181. </configuration>
  182. </plugin>
  183. <!-- clean插件 -->
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-clean-plugin</artifactId>
  187. <version>2.4.1</version>
  188. </plugin>
  189. <!-- eclipse插件,设定下载Source并屏蔽.svn文件 -->
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-eclipse-plugin</artifactId>
  193. <version>2.9</version>
  194. <configuration>
  195. <sourceExcludes>
  196. <sourceExclude>**/.svn/</sourceExclude>
  197. </sourceExcludes>
  198. <downloadSources>true</downloadSources>
  199. <downloadJavadocs>false</downloadJavadocs>
  200. </configuration>
  201. </plugin>
  202. <!-- source attach plugin -->
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-source-plugin</artifactId>
  206. <version>2.1.2</version>
  207. <executions>
  208. <execution>
  209. <id>attach-sources</id>
  210. <goals>
  211. <goal>jar</goal>
  212. </goals>
  213. </execution>
  214. </executions>
  215. </plugin>
  216. </plugins>
  217. </pluginManagement>
  218. <plugins>
  219. <plugin>
  220. <artifactId>maven-war-plugin</artifactId>
  221. </plugin>
  222. <!-- compiler插件, 设定JDK版本 -->
  223. <plugin>
  224. <groupId>org.mybatis.generator</groupId>
  225. <artifactId>mybatis-generator-maven-plugin</artifactId>
  226. <version>1.3.2</version>
  227. <dependencies>
  228. <dependency>
  229. <groupId>com.oracle</groupId>
  230. <artifactId>ojdbc6</artifactId>
  231. <version>11.2.0</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.h2database</groupId>
  235. <artifactId>h2</artifactId>
  236. <version>1.4.192</version>
  237. </dependency>
  238. </dependencies>
  239. <configuration>
  240. <configurationFile>${basedir}\src\main\resources\generatorConfig.xml</configurationFile>
  241. <overwrite>true</overwrite>
  242. </configuration>
  243. </plugin>
  244. </plugins>
  245. </build>
  246. <properties>
  247. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  248. <!-- java 版本 -->
  249. <jdk.version>1.7</jdk.version>
  250. <spring.version>4.3.2.RELEASE</spring.version>
  251. </properties>
  252. </project>