pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>1.5.6.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.honter</groupId>
  12. <artifactId>springboot</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>war</packaging>
  15. <name>springboot</name>
  16. <description>Demo project for Spring Boot</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-jdbc</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.mybatis.spring.boot</groupId>
  27. <artifactId>mybatis-spring-boot-starter</artifactId>
  28. <version>1.3.0</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. <scope>5.1.35</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-tomcat</artifactId>
  42. <scope>provided</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-test</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <!-- alibaba的druid数据库连接池 -->
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>druid</artifactId>
  53. <version>1.0.11</version>
  54. </dependency>
  55. <!-- alibaba的druid数据库连接池 -->
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>druid-spring-boot-starter</artifactId>
  59. <version>1.1.0</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.fasterxml.jackson.core</groupId>
  63. <artifactId>jackson-core</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.fasterxml.jackson.core</groupId>
  67. <artifactId>jackson-databind</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.fasterxml.jackson.datatype</groupId>
  71. <artifactId>jackson-datatype-joda</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.fasterxml.jackson.module</groupId>
  75. <artifactId>jackson-module-parameter-names</artifactId>
  76. </dependency>
  77. <!-- 分页插件 -->
  78. <dependency>
  79. <groupId>com.github.pagehelper</groupId>
  80. <artifactId>pagehelper-spring-boot-starter</artifactId>
  81. <version>1.1.2</version>
  82. </dependency>
  83. <!-- 读取project文件 -->
  84. <dependency>
  85. <groupId>net.sf.mpxj</groupId>
  86. <artifactId>mpxj</artifactId>
  87. <version>7.1.0</version>
  88. </dependency>
  89. <!-- jwt 加密解密需要的 -->
  90. <dependency>
  91. <groupId>com.auth0</groupId>
  92. <artifactId>java-jwt</artifactId>
  93. <version>3.0.1</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>io.jsonwebtoken</groupId>
  97. <artifactId>jjwt</artifactId>
  98. <version>0.7.0</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>commons-logging</groupId>
  102. <artifactId>commons-logging</artifactId>
  103. <version>1.2</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.google.code.gson</groupId>
  107. <artifactId>gson</artifactId>
  108. <version>2.8.2</version>
  109. </dependency>
  110. <!--序列化支持fastjson-->
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>fastjson</artifactId>
  114. <version>1.2.31</version>
  115. </dependency>
  116. <!--swagger2-->
  117. <dependency>
  118. <groupId>io.springfox</groupId>
  119. <artifactId>springfox-swagger-ui</artifactId>
  120. <version>2.9.2</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>io.springfox</groupId>
  124. <artifactId>springfox-swagger2</artifactId>
  125. <version>2.9.2</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.projectlombok</groupId>
  129. <artifactId>lombok</artifactId>
  130. <version>1.16.10</version>
  131. </dependency>
  132. <!--spring security -->
  133. <dependency>
  134. <groupId>org.springframework.security.oauth</groupId>
  135. <artifactId>spring-security-oauth2</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.springframework.security</groupId>
  139. <artifactId>spring-security-jwt</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>io.jsonwebtoken</groupId>
  143. <artifactId>jjwt</artifactId>
  144. <version>0.9.0</version>
  145. </dependency>
  146. <!--spring ehcache -->
  147. <dependency>
  148. <groupId>net.sf.ehcache</groupId>
  149. <artifactId>ehcache</artifactId>
  150. <version>2.10.4</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.springframework</groupId>
  154. <artifactId>spring-context-support</artifactId>
  155. </dependency>
  156. <!-- javax mail -->
  157. <dependency>
  158. <groupId>javax.mail</groupId>
  159. <artifactId>mail</artifactId>
  160. <version>1.4.7</version>
  161. </dependency>
  162. </dependencies>
  163. <build>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-maven-plugin</artifactId>
  168. </plugin>
  169. <!-- mybatis generator 自动生成代码插件 -->
  170. <plugin>
  171. <groupId>org.mybatis.generator</groupId>
  172. <artifactId>mybatis-generator-maven-plugin</artifactId>
  173. <version>1.3.2</version>
  174. <configuration>
  175. <configurationFile>${basedir}/src/main/resources/generator/generatorConfig.xml</configurationFile>
  176. <overwrite>true</overwrite>
  177. <verbose>true</verbose>
  178. </configuration>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. </project>