pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. <groupId>com.test</groupId>
  6. <artifactId>demo</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>demo</name>
  9. <description>demo</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.6.13</spring-boot.version>
  15. <druid.version>1.2.20</druid.version>
  16. <mybatisplus.version>3.5.1</mybatisplus.version>
  17. <hutool.version>5.8.4</hutool.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-devtools</artifactId>
  31. <scope>runtime</scope>
  32. <optional>true</optional>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.mysql</groupId>
  36. <artifactId>mysql-connector-j</artifactId>
  37. <scope>runtime</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.projectlombok</groupId>
  41. <artifactId>lombok</artifactId>
  42. <optional>true</optional>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-test</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.commons</groupId>
  51. <artifactId>commons-lang3</artifactId>
  52. <version>3.12.0</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba</groupId>
  56. <artifactId>druid-spring-boot-starter</artifactId>
  57. <version>${druid.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.baomidou</groupId>
  61. <artifactId>mybatis-plus-boot-starter</artifactId>
  62. <version>${mybatisplus.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.baomidou</groupId>
  66. <artifactId>mybatis-plus-extension</artifactId>
  67. <version>${mybatisplus.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.baomidou</groupId>
  71. <artifactId>mybatis-plus-core</artifactId>
  72. <version>${mybatisplus.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.baomidou</groupId>
  76. <artifactId>mybatis-plus</artifactId>
  77. <version>${mybatisplus.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>cn.hutool</groupId>
  81. <artifactId>hutool-all</artifactId>
  82. <version>${hutool.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.aliyun</groupId>
  86. <artifactId>aliyun-java-sdk-core</artifactId>
  87. <version>4.5.0</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>net.arnx</groupId>
  91. <artifactId>jsonic</artifactId>
  92. <version>1.3.10</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.apache.httpcomponents</groupId>
  96. <artifactId>httpclient</artifactId>
  97. <version>4.5.13</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.aliyun</groupId>
  101. <artifactId>dysmsapi20170525</artifactId>
  102. <version>2.0.24</version>
  103. </dependency>
  104. <!-- 分页插件 -->
  105. <!-- <dependency>-->
  106. <!-- <groupId>com.github.pagehelper</groupId>-->
  107. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
  108. <!-- <version>1.2.5</version>-->
  109. <!-- &lt;!&ndash; mybatis plus 和 pagehelper 冲突&ndash;&gt;-->
  110. <!-- <exclusions>-->
  111. <!-- <exclusion>-->
  112. <!-- <groupId>org.mybatis</groupId>-->
  113. <!-- <artifactId>mybatis</artifactId>-->
  114. <!-- </exclusion>-->
  115. <!-- </exclusions>-->
  116. <!-- </dependency>-->
  117. </dependencies>
  118. <dependencyManagement>
  119. <dependencies>
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-dependencies</artifactId>
  123. <version>${spring-boot.version}</version>
  124. <type>pom</type>
  125. <scope>import</scope>
  126. </dependency>
  127. </dependencies>
  128. </dependencyManagement>
  129. <build>
  130. <plugins>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-compiler-plugin</artifactId>
  134. <version>3.8.1</version>
  135. <configuration>
  136. <source>1.8</source>
  137. <target>1.8</target>
  138. <encoding>UTF-8</encoding>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-maven-plugin</artifactId>
  144. <version>${spring-boot.version}</version>
  145. <configuration>
  146. <mainClass>com.example.demo.DemoApplication</mainClass>
  147. <skip>true</skip>
  148. </configuration>
  149. <executions>
  150. <execution>
  151. <id>repackage</id>
  152. <goals>
  153. <goal>repackage</goal>
  154. </goals>
  155. </execution>
  156. </executions>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. </project>