pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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. <groupId>com.ruoyi</groupId>
  6. <artifactId>ruoyi</artifactId>
  7. <version>1.0</version>
  8. <packaging>jar</packaging>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依管理系统</description>
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.1.1.RELEASE</version>
  16. <relativePath/>
  17. </parent>
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <java.version>1.8</java.version>
  22. <mybatis.spring.boot.starter.version>1.3.2</mybatis.spring.boot.starter.version>
  23. <pagehelper.spring.boot.starter.version>1.2.5</pagehelper.spring.boot.starter.version>
  24. <fastjson.version>1.2.47</fastjson.version>
  25. <druid.version>1.1.14</druid.version>
  26. <commons.io.version>2.5</commons.io.version>
  27. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  28. <bitwalker.version>1.19</bitwalker.version>
  29. <jwt.version>0.9.0</jwt.version>
  30. <swagger.version>2.9.2</swagger.version>
  31. <oshi.version>3.9.1</oshi.version>
  32. <activiti.version>5.22.0</activiti.version>
  33. </properties>
  34. <dependencies>
  35. <!-- SpringBoot 核心包 -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter</artifactId>
  39. </dependency>
  40. <!-- SpringBoot 测试 -->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <!-- SpringBoot 拦截器 -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-aop</artifactId>
  50. </dependency>
  51. <!-- SpringBoot Web容器 -->
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-web</artifactId>
  55. </dependency>
  56. <!-- spring-boot-devtools -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-devtools</artifactId>
  60. <optional>true</optional> <!-- 表示依赖不会传递 -->
  61. </dependency>
  62. <!-- spring security 安全认证 -->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-security</artifactId>
  66. </dependency>
  67. <!-- redis 缓存操作 -->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-data-redis</artifactId>
  71. </dependency>
  72. <!-- pool 对象池 -->
  73. <dependency>
  74. <groupId>org.apache.commons</groupId>
  75. <artifactId>commons-pool2</artifactId>
  76. </dependency>
  77. <!-- Mysql驱动包 -->
  78. <dependency>
  79. <groupId>mysql</groupId>
  80. <artifactId>mysql-connector-java</artifactId>
  81. <scope>runtime</scope>
  82. </dependency>
  83. <!-- SpringBoot集成mybatis框架 -->
  84. <dependency>
  85. <groupId>org.mybatis.spring.boot</groupId>
  86. <artifactId>mybatis-spring-boot-starter</artifactId>
  87. <version>${mybatis.spring.boot.starter.version}</version>
  88. </dependency>
  89. <!-- pagehelper 分页插件 -->
  90. <dependency>
  91. <groupId>com.github.pagehelper</groupId>
  92. <artifactId>pagehelper-spring-boot-starter</artifactId>
  93. <version>${pagehelper.spring.boot.starter.version}</version>
  94. </dependency>
  95. <!--阿里数据库连接池 -->
  96. <dependency>
  97. <groupId>com.alibaba</groupId>
  98. <artifactId>druid-spring-boot-starter</artifactId>
  99. <version>${druid.version}</version>
  100. </dependency>
  101. <!--常用工具类 -->
  102. <dependency>
  103. <groupId>org.apache.commons</groupId>
  104. <artifactId>commons-lang3</artifactId>
  105. </dependency>
  106. <!--io常用工具类 -->
  107. <dependency>
  108. <groupId>commons-io</groupId>
  109. <artifactId>commons-io</artifactId>
  110. <version>${commons.io.version}</version>
  111. </dependency>
  112. <!--文件上传工具类 -->
  113. <dependency>
  114. <groupId>commons-fileupload</groupId>
  115. <artifactId>commons-fileupload</artifactId>
  116. <version>${commons.fileupload.version}</version>
  117. </dependency>
  118. <!-- 解析客户端操作系统、浏览器等 -->
  119. <dependency>
  120. <groupId>eu.bitwalker</groupId>
  121. <artifactId>UserAgentUtils</artifactId>
  122. <version>${bitwalker.version}</version>
  123. </dependency>
  124. <!-- 阿里JSON解析器 -->
  125. <dependency>
  126. <groupId>com.alibaba</groupId>
  127. <artifactId>fastjson</artifactId>
  128. <version>${fastjson.version}</version>
  129. </dependency>
  130. <!--Spring框架基本的核心工具-->
  131. <dependency>
  132. <groupId>org.springframework</groupId>
  133. <artifactId>spring-context-support</artifactId>
  134. </dependency>
  135. <!--Token生成与解析-->
  136. <dependency>
  137. <groupId>io.jsonwebtoken</groupId>
  138. <artifactId>jjwt</artifactId>
  139. <version>${jwt.version}</version>
  140. </dependency>
  141. <!-- swagger2-->
  142. <dependency>
  143. <groupId>io.springfox</groupId>
  144. <artifactId>springfox-swagger2</artifactId>
  145. <version>${swagger.version}</version>
  146. <exclusions>
  147. <exclusion>
  148. <groupId>io.swagger</groupId>
  149. <artifactId>swagger-annotations</artifactId>
  150. </exclusion>
  151. <exclusion>
  152. <groupId>io.swagger</groupId>
  153. <artifactId>swagger-models</artifactId>
  154. </exclusion>
  155. </exclusions>
  156. </dependency>
  157. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  158. <dependency>
  159. <groupId>io.swagger</groupId>
  160. <artifactId>swagger-annotations</artifactId>
  161. <version>1.5.21</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>io.swagger</groupId>
  165. <artifactId>swagger-models</artifactId>
  166. <version>1.5.21</version>
  167. </dependency>
  168. <!-- swagger2-UI-->
  169. <dependency>
  170. <groupId>io.springfox</groupId>
  171. <artifactId>springfox-swagger-ui</artifactId>
  172. <version>${swagger.version}</version>
  173. </dependency>
  174. <!-- 获取系统信息 -->
  175. <dependency>
  176. <groupId>com.github.oshi</groupId>
  177. <artifactId>oshi-core</artifactId>
  178. <version>${oshi.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>net.java.dev.jna</groupId>
  182. <artifactId>jna</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>net.java.dev.jna</groupId>
  186. <artifactId>jna-platform</artifactId>
  187. </dependency>
  188. <!--**********************************工作流开始***********************************-->
  189. <!--工作流-->
  190. <dependency>
  191. <groupId>org.activiti</groupId>
  192. <artifactId>activiti-spring-boot-starter-basic</artifactId>
  193. <version>${activiti.version}</version>
  194. </dependency>
  195. <!--模型设计-->
  196. <dependency>
  197. <groupId>org.activiti</groupId>
  198. <artifactId>activiti-json-converter</artifactId>
  199. <version>${activiti.version}</version>
  200. </dependency>
  201. <!-- JSON工具类 -->
  202. <dependency>
  203. <groupId>com.fasterxml.jackson.core</groupId>
  204. <artifactId>jackson-databind</artifactId>
  205. <version>2.9.5</version>
  206. </dependency>
  207. <!-- xml解析依赖-->
  208. <dependency>
  209. <groupId>org.apache.xmlgraphics</groupId>
  210. <artifactId>batik-codec</artifactId>
  211. <version>1.7</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.apache.xmlgraphics</groupId>
  215. <artifactId>batik-css</artifactId>
  216. <version> 1.7</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.apache.xmlgraphics</groupId>
  220. <artifactId>batik-svg-dom</artifactId>
  221. <version>1.7</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.apache.xmlgraphics</groupId>
  225. <artifactId>batik-svggen</artifactId>
  226. <version>1.7</version>
  227. </dependency>
  228. <!--**********************************工作流结束***********************************-->
  229. </dependencies>
  230. <build>
  231. <finalName>${project.artifactId}</finalName>
  232. <plugins>
  233. <plugin>
  234. <groupId>org.springframework.boot</groupId>
  235. <artifactId>spring-boot-maven-plugin</artifactId>
  236. <configuration>
  237. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  238. </configuration>
  239. </plugin>
  240. </plugins>
  241. </build>
  242. <repositories>
  243. <repository>
  244. <id>public</id>
  245. <name>aliyun nexus</name>
  246. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  247. <releases>
  248. <enabled>true</enabled>
  249. </releases>
  250. </repository>
  251. </repositories>
  252. <pluginRepositories>
  253. <pluginRepository>
  254. <id>public</id>
  255. <name>aliyun nexus</name>
  256. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  257. <releases>
  258. <enabled>true</enabled>
  259. </releases>
  260. <snapshots>
  261. <enabled>false</enabled>
  262. </snapshots>
  263. </pluginRepository>
  264. </pluginRepositories>
  265. </project>