pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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.tuoren</groupId>
  5. <artifactId>forward</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>forward</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <encoding>UTF-8</encoding>
  12. <java-version>1.8</java-version>
  13. </properties>
  14. <parent>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-parent</artifactId>
  17. <version>2.7.16</version>
  18. </parent>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-aop</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-jdbc</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.mybatis.spring.boot</groupId>
  34. <artifactId>mybatis-spring-boot-starter</artifactId>
  35. <version>2.3.1</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-data-redis</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.mybatis.generator</groupId>
  43. <artifactId>mybatis-generator-core</artifactId>
  44. <version>1.4.2</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.mysql</groupId>
  48. <artifactId>mysql-connector-j</artifactId>
  49. <scope>runtime</scope>
  50. </dependency>
  51. <!-- SpringBoot MongoDB -->
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.github.pagehelper</groupId>
  58. <artifactId>pagehelper-spring-boot-starter</artifactId>
  59. <version>1.4.7</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.alibaba.fastjson2</groupId>
  67. <artifactId>fastjson2</artifactId>
  68. <version>2.0.51</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.commons</groupId>
  72. <artifactId>commons-lang3</artifactId>
  73. </dependency>
  74. <!-- 提供Redis连接池 -->
  75. <dependency>
  76. <groupId>org.apache.commons</groupId>
  77. <artifactId>commons-pool2</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.github.xiaoymin</groupId>
  81. <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
  82. <version>4.1.0</version>
  83. </dependency>
  84. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  85. <dependency>
  86. <groupId>cn.dev33</groupId>
  87. <artifactId>sa-token-spring-boot-starter</artifactId>
  88. <version>1.30.0</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>cn.dev33</groupId>
  92. <artifactId>sa-token-dao-redis-jackson</artifactId>
  93. <version>1.30.0</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>cn.hutool</groupId>
  97. <artifactId>hutool-all</artifactId>
  98. <version>5.7.22</version>
  99. </dependency>
  100. <!-- amqp 1.0 qpid client -->
  101. <dependency>
  102. <groupId>org.apache.qpid</groupId>
  103. <artifactId>qpid-jms-client</artifactId>
  104. <version>0.57.0</version>
  105. </dependency>
  106. <!-- util for base64-->
  107. <dependency>
  108. <groupId>commons-codec</groupId>
  109. <artifactId>commons-codec</artifactId>
  110. </dependency>
  111. <!--mqtt依赖-->
  112. <dependency>
  113. <groupId>org.eclipse.paho</groupId>
  114. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  115. <version>1.2.2</version>
  116. </dependency>
  117. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  118. <dependency>
  119. <groupId>com.squareup.okhttp3</groupId>
  120. <artifactId>okhttp</artifactId>
  121. </dependency>
  122. <!-- https://mvnrepository.com/artifact/org.flywaydb/flyway-core -->
  123. <dependency>
  124. <groupId>org.flywaydb</groupId>
  125. <artifactId>flyway-core</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.flywaydb</groupId>
  129. <artifactId>flyway-mysql</artifactId>
  130. </dependency>
  131. <!--阿里云短信服务-->
  132. <dependency>
  133. <groupId>com.aliyun</groupId>
  134. <artifactId>dysmsapi20170525</artifactId>
  135. <version>2.0.24</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.aliyun</groupId>
  139. <artifactId>tea-openapi</artifactId>
  140. <version>0.3.2</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.aliyun</groupId>
  144. <artifactId>tea-console</artifactId>
  145. <version>0.0.1</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.aliyun</groupId>
  149. <artifactId>tea-util</artifactId>
  150. <version>0.2.21</version>
  151. </dependency>
  152. <!--<dependency>
  153. <groupId>com.demo</groupId>
  154. <artifactId>forward</artifactId>
  155. <version>0.0.1-SNAPSHOT</version>
  156. </dependency>-->
  157. </dependencies>
  158. <build>
  159. <plugins>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-compiler-plugin</artifactId>
  163. <configuration>
  164. <source>${java-version}</source> <!-- 源代码使用的JDK版本 -->
  165. <target>${java-version}</target> <!-- 需要生成的目标class文件的编译版本 -->
  166. <encoding>${encoding}</encoding><!-- 字符集编码 -->
  167. </configuration>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-maven-plugin</artifactId>
  172. <executions>
  173. <execution>
  174. <goals>
  175. <goal>repackage</goal>
  176. </goals>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.mybatis.generator</groupId>
  182. <artifactId>mybatis-generator-maven-plugin</artifactId>
  183. <version>1.4.2</version>
  184. <configuration>
  185. <!-- mybatis-generator 配置文件存放地址 -->
  186. <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
  187. <!-- <overwrite>true</overwrite>-->
  188. </configuration>
  189. <dependencies>
  190. <dependency>
  191. <groupId>com.mysql</groupId>
  192. <artifactId>mysql-connector-j</artifactId>
  193. <version>${mysql.version}</version>
  194. </dependency>
  195. </dependencies>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>