pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>cn.iocoder</groupId>
  7. <artifactId>dashboard</artifactId>
  8. <version>1.0.0</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依管理系统</description>
  12. <properties>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <resource.delimiter>@</resource.delimiter>
  16. <java.version>1.8</java.version>
  17. <maven.compiler.source>${java.version}</maven.compiler.source>
  18. <maven.compiler.target>${java.version}</maven.compiler.target>
  19. <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
  20. <!-- 统一依赖管理 -->
  21. <spring.boot.version>2.4.1</spring.boot.version>
  22. <!-- <ruoyi.version>3.3.0</ruoyi.version>-->
  23. <!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
  24. <!-- <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>-->
  25. <!-- <druid.version>1.2.2</druid.version>-->
  26. <!-- <bitwalker.version>1.21</bitwalker.version>-->
  27. <!-- <swagger.version>2.9.2</swagger.version>-->
  28. <!-- <kaptcha.version>2.3.2</kaptcha.version>-->
  29. <!-- <pagehelper.boot.version>1.3.0</pagehelper.boot.version>-->
  30. <!-- <fastjson.version>1.2.74</fastjson.version>-->
  31. <!-- <oshi.version>5.3.6</oshi.version>-->
  32. <!-- <jna.version>5.6.0</jna.version>-->
  33. <!-- <commons.io.version>2.5</commons.io.version>-->
  34. <!-- <commons.fileupload.version>1.3.3</commons.fileupload.version>-->
  35. <!-- <poi.version>4.1.2</poi.version>-->
  36. <!-- <velocity.version>1.7</velocity.version>-->
  37. <!-- <jwt.version>0.9.1</jwt.version>-->
  38. <!-- Web 相关 -->
  39. <!-- DB 相关 -->
  40. <mysql-connector-java.version>5.1.46</mysql-connector-java.version>
  41. <druid.version>1.2.4</druid.version>
  42. <mybatis-plus.version>3.4.1</mybatis-plus.version>
  43. <!-- 工具类相关 -->
  44. <org.projectlombok.version>1.16.14</org.projectlombok.version>
  45. <org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
  46. </properties>
  47. <!-- 依赖声明 -->
  48. <dependencyManagement>
  49. <dependencies>
  50. <!-- &lt;!&ndash;阿里数据库连接池 &ndash;&gt;-->
  51. <!-- <dependency>-->
  52. <!-- <groupId>com.alibaba</groupId>-->
  53. <!-- <artifactId>druid-spring-boot-starter</artifactId>-->
  54. <!-- <version>${druid.version}</version>-->
  55. <!-- </dependency>-->
  56. <!-- &lt;!&ndash; 解析客户端操作系统、浏览器等 &ndash;&gt;-->
  57. <!-- <dependency>-->
  58. <!-- <groupId>eu.bitwalker</groupId>-->
  59. <!-- <artifactId>UserAgentUtils</artifactId>-->
  60. <!-- <version>${bitwalker.version}</version>-->
  61. <!-- </dependency>-->
  62. <!-- &lt;!&ndash; pagehelper 分页插件 &ndash;&gt;-->
  63. <!-- <dependency>-->
  64. <!-- <groupId>com.github.pagehelper</groupId>-->
  65. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
  66. <!-- <version>${pagehelper.boot.version}</version>-->
  67. <!-- </dependency>-->
  68. <!-- &lt;!&ndash; 获取系统信息 &ndash;&gt;-->
  69. <!-- <dependency>-->
  70. <!-- <groupId>com.github.oshi</groupId>-->
  71. <!-- <artifactId>oshi-core</artifactId>-->
  72. <!-- <version>${oshi.version}</version>-->
  73. <!-- </dependency>-->
  74. <!-- <dependency>-->
  75. <!-- <groupId>net.java.dev.jna</groupId>-->
  76. <!-- <artifactId>jna</artifactId>-->
  77. <!-- <version>${jna.version}</version>-->
  78. <!-- </dependency>-->
  79. <!-- <dependency>-->
  80. <!-- <groupId>net.java.dev.jna</groupId>-->
  81. <!-- <artifactId>jna-platform</artifactId>-->
  82. <!-- <version>${jna.version}</version>-->
  83. <!-- </dependency>-->
  84. <!-- &lt;!&ndash; swagger2&ndash;&gt;-->
  85. <!-- <dependency>-->
  86. <!-- <groupId>io.springfox</groupId>-->
  87. <!-- <artifactId>springfox-swagger2</artifactId>-->
  88. <!-- <version>${swagger.version}</version>-->
  89. <!-- <exclusions>-->
  90. <!-- <exclusion>-->
  91. <!-- <groupId>io.swagger</groupId>-->
  92. <!-- <artifactId>swagger-annotations</artifactId>-->
  93. <!-- </exclusion>-->
  94. <!-- <exclusion>-->
  95. <!-- <groupId>io.swagger</groupId>-->
  96. <!-- <artifactId>swagger-models</artifactId>-->
  97. <!-- </exclusion>-->
  98. <!-- </exclusions>-->
  99. <!-- </dependency>-->
  100. <!-- &lt;!&ndash; swagger2-UI&ndash;&gt;-->
  101. <!-- <dependency>-->
  102. <!-- <groupId>io.springfox</groupId>-->
  103. <!-- <artifactId>springfox-swagger-ui</artifactId>-->
  104. <!-- <version>${swagger.version}</version>-->
  105. <!-- </dependency>-->
  106. <!-- &lt;!&ndash;io常用工具类 &ndash;&gt;-->
  107. <!-- <dependency>-->
  108. <!-- <groupId>commons-io</groupId>-->
  109. <!-- <artifactId>commons-io</artifactId>-->
  110. <!-- <version>${commons.io.version}</version>-->
  111. <!-- </dependency>-->
  112. <!-- &lt;!&ndash;文件上传工具类 &ndash;&gt;-->
  113. <!-- <dependency>-->
  114. <!-- <groupId>commons-fileupload</groupId>-->
  115. <!-- <artifactId>commons-fileupload</artifactId>-->
  116. <!-- <version>${commons.fileupload.version}</version>-->
  117. <!-- </dependency>-->
  118. <!-- &lt;!&ndash; excel工具 &ndash;&gt;-->
  119. <!-- <dependency>-->
  120. <!-- <groupId>org.apache.poi</groupId>-->
  121. <!-- <artifactId>poi-ooxml</artifactId>-->
  122. <!-- <version>${poi.version}</version>-->
  123. <!-- </dependency>-->
  124. <!-- &lt;!&ndash;velocity代码生成使用模板 &ndash;&gt;-->
  125. <!-- <dependency>-->
  126. <!-- <groupId>org.apache.velocity</groupId>-->
  127. <!-- <artifactId>velocity</artifactId>-->
  128. <!-- <version>${velocity.version}</version>-->
  129. <!-- </dependency>-->
  130. <!-- &lt;!&ndash; 阿里JSON解析器 &ndash;&gt;-->
  131. <!-- <dependency>-->
  132. <!-- <groupId>com.alibaba</groupId>-->
  133. <!-- <artifactId>fastjson</artifactId>-->
  134. <!-- <version>${fastjson.version}</version>-->
  135. <!-- </dependency>-->
  136. <!-- &lt;!&ndash;Token生成与解析&ndash;&gt;-->
  137. <!-- <dependency>-->
  138. <!-- <groupId>io.jsonwebtoken</groupId>-->
  139. <!-- <artifactId>jjwt</artifactId>-->
  140. <!-- <version>${jwt.version}</version>-->
  141. <!-- </dependency>-->
  142. <!-- &lt;!&ndash;验证码 &ndash;&gt;-->
  143. <!-- <dependency>-->
  144. <!-- <groupId>com.github.penggle</groupId>-->
  145. <!-- <artifactId>kaptcha</artifactId>-->
  146. <!-- <version>${kaptcha.version}</version>-->
  147. <!-- </dependency>-->
  148. <!-- 统一依赖管理 -->
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-dependencies</artifactId>
  152. <version>${spring.boot.version}</version>
  153. <type>pom</type>
  154. <scope>import</scope>
  155. </dependency>
  156. </dependencies>
  157. </dependencyManagement>
  158. <!-- <modules>-->
  159. <!-- <module>ruoyi-admin</module>-->
  160. <!-- <module>ruoyi-framework</module>-->
  161. <!-- <module>ruoyi-system</module>-->
  162. <!-- <module>ruoyi-quartz</module>-->
  163. <!-- <module>ruoyi-generator</module>-->
  164. <!-- <module>ruoyi-common</module>-->
  165. <!-- </modules>-->
  166. <packaging>jar</packaging>
  167. <dependencies>
  168. <!-- Web 相关 -->
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-starter-web</artifactId>
  172. </dependency>
  173. <!-- DB 相关 -->
  174. <dependency>
  175. <groupId>mysql</groupId>
  176. <artifactId>mysql-connector-java</artifactId>
  177. <version>${mysql-connector-java.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.alibaba</groupId>
  181. <artifactId>druid-spring-boot-starter</artifactId>
  182. <version>${druid.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.baomidou</groupId>
  186. <artifactId>mybatis-plus-boot-starter</artifactId>
  187. <version>${mybatis-plus.version}</version>
  188. </dependency>
  189. <!-- 工具类相关 -->
  190. <dependency>
  191. <groupId>org.projectlombok</groupId>
  192. <artifactId>lombok</artifactId>
  193. <version>${org.projectlombok.version}</version>
  194. </dependency>
  195. </dependencies>
  196. <build>
  197. <pluginManagement>
  198. <plugins>
  199. <!-- 提供给 mapstruct 使用 -->
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-compiler-plugin</artifactId>
  203. <version>${maven-compiler-plugin.version}</version>
  204. <configuration>
  205. <source>${java.version}</source> <!-- or higher, depending on your project -->
  206. <target>${java.version}</target> <!-- or higher, depending on your project -->
  207. <annotationProcessorPaths>
  208. <path>
  209. <groupId>org.mapstruct</groupId>
  210. <artifactId>mapstruct-processor</artifactId>
  211. <version>${org.mapstruct.version}</version>
  212. </path>
  213. <path>
  214. <groupId>org.projectlombok</groupId>
  215. <artifactId>lombok</artifactId>
  216. <version>${org.projectlombok.version}</version>
  217. </path>
  218. </annotationProcessorPaths>
  219. </configuration>
  220. </plugin>
  221. <!-- 打包 -->
  222. <plugin>
  223. <groupId>org.springframework.boot</groupId>
  224. <artifactId>spring-boot-maven-plugin</artifactId>
  225. <configuration>
  226. <fork>true</fork>
  227. </configuration>
  228. </plugin>
  229. </plugins>
  230. </pluginManagement>
  231. </build>
  232. </project>