pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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 https://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>2.3.12.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.unissoft</groupId>
  12. <artifactId>numberCloud</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>numberCloud</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
  19. <mybatisPlus.version>3.4.1</mybatisPlus.version>
  20. <swagger.version>2.9.2</swagger.version>
  21. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  22. </properties>
  23. <dependencies>
  24. <!-- utils -->
  25. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  26. <dependency>
  27. <groupId>com.alibaba</groupId>
  28. <artifactId>fastjson</artifactId>
  29. <version>1.2.75</version>
  30. </dependency>
  31. <!-- boot -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </dependency>
  36. <!-- aop -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-aop</artifactId>
  40. </dependency>
  41. <!-- cloud -->
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-starter</artifactId>
  45. </dependency>
  46. <!-- dataSource -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-jdbc</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. <scope>runtime</scope>
  55. </dependency>
  56. <!--mybatis-plus 码生成器 添加 模板引擎依赖 这个需要增加模板引擎依赖,如freemarker-->
  57. <dependency>
  58. <groupId>com.baomidou</groupId>
  59. <artifactId>mybatis-plus-generator</artifactId>
  60. <version>${mybatisPlus.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-freemarker</artifactId>
  65. </dependency>
  66. <!--swagger-->
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-swagger2</artifactId>
  70. <version>${swagger.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.springfox</groupId>
  74. <artifactId>springfox-swagger-ui</artifactId>
  75. <version>${swagger.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.projectlombok</groupId>
  79. <artifactId>lombok</artifactId>
  80. <scope>provided</scope>
  81. </dependency>
  82. <!-- test -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <!-- mybatisplus与springboot整合 -->
  89. <dependency>
  90. <groupId>com.baomidou</groupId>
  91. <artifactId>mybatis-plus-boot-starter</artifactId>
  92. <version>3.4.1</version>
  93. </dependency>
  94. <!-- @Min -->
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-validation</artifactId>
  98. </dependency>
  99. <!-- springboot整合mybatis(核心就这一个) -->
  100. <!-- 注意顺序,这个一定要放在最下面 -->
  101. <dependency>
  102. <groupId>org.mybatis.spring.boot</groupId>
  103. <artifactId>mybatis-spring-boot-starter</artifactId>
  104. <version>2.1.4</version>
  105. </dependency>
  106. <!--add swagger2 by hasan-->
  107. <dependency>
  108. <groupId>com.spring4all</groupId>
  109. <artifactId>swagger-spring-boot-starter</artifactId>
  110. <version>1.9.0.RELEASE</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-devtools</artifactId>
  115. <scope>runtime</scope>
  116. </dependency>
  117. <!-- auth0的jwt -->
  118. <dependency>
  119. <groupId>com.auth0</groupId>
  120. <artifactId>java-jwt</artifactId>
  121. <version>3.4.0</version>
  122. </dependency>
  123. <!--quartz定时任务-->
  124. <dependency>
  125. <groupId>org.quartz-scheduler</groupId>
  126. <artifactId>quartz</artifactId>
  127. <version>2.3.0</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.commons</groupId>
  131. <artifactId>commons-lang3</artifactId>
  132. </dependency>
  133. <!-- springboot整合rocketmq-->
  134. <dependency>
  135. <groupId>org.apache.rocketmq</groupId>
  136. <artifactId>rocketmq-spring-boot-starter</artifactId>
  137. <version>2.2.1</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.rocketmq</groupId>
  141. <artifactId>rocketmq-client</artifactId>
  142. <version>4.9.3</version>
  143. </dependency>
  144. </dependencies>
  145. <dependencyManagement>
  146. <dependencies>
  147. <dependency>
  148. <groupId>org.springframework.cloud</groupId>
  149. <artifactId>spring-cloud-dependencies</artifactId>
  150. <version>${spring-cloud.version}</version>
  151. <type>pom</type>
  152. <scope>import</scope>
  153. </dependency>
  154. </dependencies>
  155. </dependencyManagement>
  156. <build>
  157. <finalName>${project.artifactId}</finalName>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.springframework.boot</groupId>
  161. <artifactId>spring-boot-maven-plugin</artifactId>
  162. </plugin>
  163. </plugins>
  164. <resources>
  165. <resource>
  166. <directory>src/main/java</directory>
  167. <includes>
  168. <include>**/*.xml</include>
  169. </includes>
  170. </resource>
  171. <resource>
  172. <directory>src/main/resources</directory>
  173. </resource>
  174. </resources>
  175. </build>
  176. </project>