pom.xml 7.3 KB

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