pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. </dependency>
  111. <!-- 阿里JSON解析器 -->
  112. <dependency>
  113. <groupId>com.alibaba</groupId>
  114. <artifactId>fastjson</artifactId>
  115. <version>${fastjson.version}</version>
  116. </dependency>
  117. <!--Token生成与解析-->
  118. <dependency>
  119. <groupId>io.jsonwebtoken</groupId>
  120. <artifactId>jjwt</artifactId>
  121. <version>${jwt.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.baomidou</groupId>
  125. <artifactId>mybatis-plus-boot-starter</artifactId>
  126. <version>${mybatis-plus.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.baomidou</groupId>
  130. <artifactId>mybatis-plus-extension</artifactId>
  131. <version>${mybatis-plus.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>cn.hutool</groupId>
  135. <artifactId>hutool-all</artifactId>
  136. <version>${hutool.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.cloud</groupId>
  140. <artifactId>spring-cloud-starter-openfeign</artifactId>
  141. <version>${feign.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>io.github.openfeign</groupId>
  145. <artifactId>feign-okhttp</artifactId>
  146. <version>${feign-okhttp.version}</version>
  147. </dependency>
  148. <!-- 定时任务-->
  149. <dependency>
  150. <groupId>com.ruoyi</groupId>
  151. <artifactId>ruoyi-quartz</artifactId>
  152. <version>${ruoyi.version}</version>
  153. </dependency>
  154. <!-- 代码生成-->
  155. <dependency>
  156. <groupId>com.ruoyi</groupId>
  157. <artifactId>ruoyi-generator</artifactId>
  158. <version>${ruoyi.version}</version>
  159. </dependency>
  160. <!-- 核心模块-->
  161. <dependency>
  162. <groupId>com.ruoyi</groupId>
  163. <artifactId>ruoyi-framework</artifactId>
  164. <version>${ruoyi.version}</version>
  165. </dependency>
  166. <!-- 系统模块-->
  167. <dependency>
  168. <groupId>com.ruoyi</groupId>
  169. <artifactId>ruoyi-system</artifactId>
  170. <version>${ruoyi.version}</version>
  171. </dependency>
  172. <!-- 通用工具-->
  173. <dependency>
  174. <groupId>com.ruoyi</groupId>
  175. <artifactId>ruoyi-common</artifactId>
  176. <version>${ruoyi.version}</version>
  177. </dependency>
  178. <!-- demo模块 -->
  179. <dependency>
  180. <groupId>com.ruoyi</groupId>
  181. <artifactId>ruoyi-demo</artifactId>
  182. <version>${ruoyi.version}</version>
  183. </dependency>
  184. </dependencies>
  185. </dependencyManagement>
  186. <modules>
  187. <module>ruoyi-admin</module>
  188. <module>ruoyi-framework</module>
  189. <module>ruoyi-system</module>
  190. <module>ruoyi-quartz</module>
  191. <module>ruoyi-generator</module>
  192. <module>ruoyi-common</module>
  193. <module>ruoyi-demo</module>
  194. </modules>
  195. <packaging>pom</packaging>
  196. <dependencies>
  197. </dependencies>
  198. <build>
  199. <plugins>
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-compiler-plugin</artifactId>
  203. <version>3.1</version>
  204. <configuration>
  205. <source>${java.version}</source>
  206. <target>${java.version}</target>
  207. <encoding>${project.build.sourceEncoding}</encoding>
  208. </configuration>
  209. </plugin>
  210. </plugins>
  211. <resources>
  212. <resource>
  213. <!--打包该目录下的 application.yml -->
  214. <directory>src/main/resources</directory>
  215. <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
  216. <filtering>true</filtering>
  217. </resource>
  218. </resources>
  219. </build>
  220. <repositories>
  221. <repository>
  222. <id>public</id>
  223. <name>aliyun nexus</name>
  224. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  225. <releases>
  226. <enabled>true</enabled>
  227. </releases>
  228. </repository>
  229. </repositories>
  230. <pluginRepositories>
  231. <pluginRepository>
  232. <id>public</id>
  233. <name>aliyun nexus</name>
  234. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  235. <releases>
  236. <enabled>true</enabled>
  237. </releases>
  238. <snapshots>
  239. <enabled>false</enabled>
  240. </snapshots>
  241. </pluginRepository>
  242. </pluginRepositories>
  243. <profiles>
  244. <profile>
  245. <id>dev</id>
  246. <properties>
  247. <!-- 环境标识,需要与配置文件的名称相对应 -->
  248. <profiles.active>dev</profiles.active>
  249. <logging.level>debug</logging.level>
  250. </properties>
  251. <activation>
  252. <!-- 默认环境 -->
  253. <activeByDefault>true</activeByDefault>
  254. </activation>
  255. </profile>
  256. <profile>
  257. <id>prod</id>
  258. <properties>
  259. <profiles.active>prod</profiles.active>
  260. <logging.level>warn</logging.level>
  261. </properties>
  262. </profile>
  263. </profiles>
  264. </project>