pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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>com.ruoyi</groupId>
  7. <artifactId>ruoyi</artifactId>
  8. <version>3.4.0</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依管理系统</description>
  12. <properties>
  13. <ruoyi.version>3.4.0</ruoyi.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  18. <druid.version>1.2.4</druid.version>
  19. <swagger.version>2.9.2</swagger.version>
  20. <swagger-ui.version>1.9.6</swagger-ui.version>
  21. <pagehelper.boot.version>1.3.0</pagehelper.boot.version>
  22. <fastjson.version>1.2.75</fastjson.version>
  23. <oshi.version>5.6.0</oshi.version>
  24. <jna.version>5.7.0</jna.version>
  25. <poi.version>4.1.2</poi.version>
  26. <velocity.version>1.7</velocity.version>
  27. <jwt.version>0.9.1</jwt.version>
  28. <mybatis-plus.version>3.4.2</mybatis-plus.version>
  29. <hutool.version>5.5.8</hutool.version>
  30. <feign.version>2.2.6.RELEASE</feign.version>
  31. <feign-okhttp.version>11.0</feign-okhttp.version>
  32. </properties>
  33. <!-- 依赖声明 -->
  34. <dependencyManagement>
  35. <dependencies>
  36. <!-- SpringBoot的依赖配置-->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-dependencies</artifactId>
  40. <version>2.2.13.RELEASE</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. <!--阿里数据库连接池 -->
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid-spring-boot-starter</artifactId>
  48. <version>${druid.version}</version>
  49. </dependency>
  50. <!-- pagehelper 分页插件 -->
  51. <dependency>
  52. <groupId>com.github.pagehelper</groupId>
  53. <artifactId>pagehelper-spring-boot-starter</artifactId>
  54. <version>${pagehelper.boot.version}</version>
  55. <exclusions>
  56. <exclusion>
  57. <groupId>org.mybatis</groupId>
  58. <artifactId>mybatis</artifactId>
  59. </exclusion>
  60. </exclusions>
  61. </dependency>
  62. <!-- 获取系统信息 -->
  63. <dependency>
  64. <groupId>com.github.oshi</groupId>
  65. <artifactId>oshi-core</artifactId>
  66. <version>${oshi.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>net.java.dev.jna</groupId>
  70. <artifactId>jna</artifactId>
  71. <version>${jna.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>net.java.dev.jna</groupId>
  75. <artifactId>jna-platform</artifactId>
  76. <version>${jna.version}</version>
  77. </dependency>
  78. <!-- swagger2-->
  79. <dependency>
  80. <groupId>io.springfox</groupId>
  81. <artifactId>springfox-swagger2</artifactId>
  82. <version>${swagger.version}</version>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>io.swagger</groupId>
  86. <artifactId>swagger-annotations</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>io.swagger</groupId>
  90. <artifactId>swagger-models</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.github.xiaoymin</groupId>
  96. <artifactId>swagger-bootstrap-ui</artifactId>
  97. <version>${swagger-ui.version}</version>
  98. </dependency>
  99. <!-- excel工具 -->
  100. <dependency>
  101. <groupId>org.apache.poi</groupId>
  102. <artifactId>poi-ooxml</artifactId>
  103. <version>${poi.version}</version>
  104. </dependency>
  105. <!--velocity代码生成使用模板 -->
  106. <dependency>
  107. <groupId>org.apache.velocity</groupId>
  108. <artifactId>velocity</artifactId>
  109. <version>${velocity.version}</version>
  110. <exclusions>
  111. <exclusion>
  112. <groupId>commons-collections</groupId>
  113. <artifactId>commons-collections</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. <!-- 阿里JSON解析器 -->
  118. <dependency>
  119. <groupId>com.alibaba</groupId>
  120. <artifactId>fastjson</artifactId>
  121. <version>${fastjson.version}</version>
  122. </dependency>
  123. <!--Token生成与解析-->
  124. <dependency>
  125. <groupId>io.jsonwebtoken</groupId>
  126. <artifactId>jjwt</artifactId>
  127. <version>${jwt.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.baomidou</groupId>
  131. <artifactId>mybatis-plus-boot-starter</artifactId>
  132. <version>${mybatis-plus.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.baomidou</groupId>
  136. <artifactId>mybatis-plus-extension</artifactId>
  137. <version>${mybatis-plus.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>cn.hutool</groupId>
  141. <artifactId>hutool-all</artifactId>
  142. <version>${hutool.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework.cloud</groupId>
  146. <artifactId>spring-cloud-starter-openfeign</artifactId>
  147. <version>${feign.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>io.github.openfeign</groupId>
  151. <artifactId>feign-okhttp</artifactId>
  152. <version>${feign-okhttp.version}</version>
  153. </dependency>
  154. <!-- 定时任务-->
  155. <dependency>
  156. <groupId>com.ruoyi</groupId>
  157. <artifactId>ruoyi-quartz</artifactId>
  158. <version>${ruoyi.version}</version>
  159. </dependency>
  160. <!-- 代码生成-->
  161. <dependency>
  162. <groupId>com.ruoyi</groupId>
  163. <artifactId>ruoyi-generator</artifactId>
  164. <version>${ruoyi.version}</version>
  165. </dependency>
  166. <!-- 核心模块-->
  167. <dependency>
  168. <groupId>com.ruoyi</groupId>
  169. <artifactId>ruoyi-framework</artifactId>
  170. <version>${ruoyi.version}</version>
  171. </dependency>
  172. <!-- 系统模块-->
  173. <dependency>
  174. <groupId>com.ruoyi</groupId>
  175. <artifactId>ruoyi-system</artifactId>
  176. <version>${ruoyi.version}</version>
  177. </dependency>
  178. <!-- 通用工具-->
  179. <dependency>
  180. <groupId>com.ruoyi</groupId>
  181. <artifactId>ruoyi-common</artifactId>
  182. <version>${ruoyi.version}</version>
  183. </dependency>
  184. <!-- demo模块 -->
  185. <dependency>
  186. <groupId>com.ruoyi</groupId>
  187. <artifactId>ruoyi-demo</artifactId>
  188. <version>${ruoyi.version}</version>
  189. </dependency>
  190. </dependencies>
  191. </dependencyManagement>
  192. <modules>
  193. <module>ruoyi-admin</module>
  194. <module>ruoyi-framework</module>
  195. <module>ruoyi-system</module>
  196. <module>ruoyi-quartz</module>
  197. <module>ruoyi-generator</module>
  198. <module>ruoyi-common</module>
  199. <module>ruoyi-demo</module>
  200. </modules>
  201. <packaging>pom</packaging>
  202. <dependencies>
  203. </dependencies>
  204. <build>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-compiler-plugin</artifactId>
  209. <version>3.1</version>
  210. <configuration>
  211. <source>${java.version}</source>
  212. <target>${java.version}</target>
  213. <encoding>${project.build.sourceEncoding}</encoding>
  214. </configuration>
  215. </plugin>
  216. </plugins>
  217. <resources>
  218. <resource>
  219. <!--打包该目录下的 application.yml -->
  220. <directory>src/main/resources</directory>
  221. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  222. <filtering>true</filtering>
  223. </resource>
  224. </resources>
  225. </build>
  226. <repositories>
  227. <repository>
  228. <id>public</id>
  229. <name>aliyun nexus</name>
  230. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  231. <releases>
  232. <enabled>true</enabled>
  233. </releases>
  234. </repository>
  235. </repositories>
  236. <pluginRepositories>
  237. <pluginRepository>
  238. <id>public</id>
  239. <name>aliyun nexus</name>
  240. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  241. <releases>
  242. <enabled>true</enabled>
  243. </releases>
  244. <snapshots>
  245. <enabled>false</enabled>
  246. </snapshots>
  247. </pluginRepository>
  248. </pluginRepositories>
  249. <profiles>
  250. <profile>
  251. <id>dev</id>
  252. <properties>
  253. <!-- 环境标识,需要与配置文件的名称相对应 -->
  254. <profiles.active>dev</profiles.active>
  255. <logging.level>debug</logging.level>
  256. </properties>
  257. <activation>
  258. <!-- 默认环境 -->
  259. <activeByDefault>true</activeByDefault>
  260. </activation>
  261. </profile>
  262. <profile>
  263. <id>prod</id>
  264. <properties>
  265. <profiles.active>prod</profiles.active>
  266. <logging.level>warn</logging.level>
  267. </properties>
  268. </profile>
  269. </profiles>
  270. </project>