pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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.8.7</version>
  9. <name>ruoyi</name>
  10. <url>http://www.ruoyi.vip</url>
  11. <description>若依管理系统</description>
  12. <properties>
  13. <ruoyi.version>3.8.7</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.20</druid.version>
  19. <bitwalker.version>1.21</bitwalker.version>
  20. <swagger.version>3.0.0</swagger.version>
  21. <kaptcha.version>2.3.3</kaptcha.version>
  22. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  23. <fastjson.version>2.0.43</fastjson.version>
  24. <oshi.version>6.4.8</oshi.version>
  25. <commons.io.version>2.13.0</commons.io.version>
  26. <commons.collections.version>3.2.2</commons.collections.version>
  27. <poi.version>4.1.2</poi.version>
  28. <velocity.version>2.3</velocity.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. </properties>
  31. <!-- 依赖声明 -->
  32. <dependencyManagement>
  33. <dependencies>
  34. <!-- SpringBoot的依赖配置-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-dependencies</artifactId>
  38. <version>2.5.15</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <!-- 阿里数据库连接池 -->
  43. <dependency>
  44. <groupId>com.alibaba</groupId>
  45. <artifactId>druid-spring-boot-starter</artifactId>
  46. <version>${druid.version}</version>
  47. </dependency>
  48. <!-- 解析客户端操作系统、浏览器等 -->
  49. <dependency>
  50. <groupId>eu.bitwalker</groupId>
  51. <artifactId>UserAgentUtils</artifactId>
  52. <version>${bitwalker.version}</version>
  53. </dependency>
  54. <!-- pagehelper 分页插件 -->
  55. <dependency>
  56. <groupId>com.github.pagehelper</groupId>
  57. <artifactId>pagehelper-spring-boot-starter</artifactId>
  58. <version>${pagehelper.boot.version}</version>
  59. </dependency>
  60. <!-- 获取系统信息 -->
  61. <dependency>
  62. <groupId>com.github.oshi</groupId>
  63. <artifactId>oshi-core</artifactId>
  64. <version>${oshi.version}</version>
  65. </dependency>
  66. <!-- Swagger3依赖 -->
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-boot-starter</artifactId>
  70. <version>${swagger.version}</version>
  71. <exclusions>
  72. <exclusion>
  73. <groupId>io.swagger</groupId>
  74. <artifactId>swagger-models</artifactId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <!-- io常用工具类 -->
  79. <dependency>
  80. <groupId>commons-io</groupId>
  81. <artifactId>commons-io</artifactId>
  82. <version>${commons.io.version}</version>
  83. </dependency>
  84. <!-- excel工具 -->
  85. <dependency>
  86. <groupId>org.apache.poi</groupId>
  87. <artifactId>poi-ooxml</artifactId>
  88. <version>${poi.version}</version>
  89. </dependency>
  90. <!-- velocity代码生成使用模板 -->
  91. <dependency>
  92. <groupId>org.apache.velocity</groupId>
  93. <artifactId>velocity-engine-core</artifactId>
  94. <version>${velocity.version}</version>
  95. </dependency>
  96. <!-- collections工具类 -->
  97. <dependency>
  98. <groupId>commons-collections</groupId>
  99. <artifactId>commons-collections</artifactId>
  100. <version>${commons.collections.version}</version>
  101. </dependency>
  102. <!-- 阿里JSON解析器 -->
  103. <dependency>
  104. <groupId>com.alibaba.fastjson2</groupId>
  105. <artifactId>fastjson2</artifactId>
  106. <version>${fastjson.version}</version>
  107. </dependency>
  108. <!-- Token生成与解析-->
  109. <dependency>
  110. <groupId>io.jsonwebtoken</groupId>
  111. <artifactId>jjwt</artifactId>
  112. <version>${jwt.version}</version>
  113. </dependency>
  114. <!-- 验证码 -->
  115. <dependency>
  116. <groupId>pro.fessional</groupId>
  117. <artifactId>kaptcha</artifactId>
  118. <version>${kaptcha.version}</version>
  119. </dependency>
  120. <!-- 定时任务-->
  121. <dependency>
  122. <groupId>com.ruoyi</groupId>
  123. <artifactId>ruoyi-quartz</artifactId>
  124. <version>${ruoyi.version}</version>
  125. </dependency>
  126. <!-- 代码生成-->
  127. <dependency>
  128. <groupId>com.ruoyi</groupId>
  129. <artifactId>ruoyi-generator</artifactId>
  130. <version>${ruoyi.version}</version>
  131. </dependency>
  132. <!-- 核心模块-->
  133. <dependency>
  134. <groupId>com.ruoyi</groupId>
  135. <artifactId>ruoyi-framework</artifactId>
  136. <version>${ruoyi.version}</version>
  137. </dependency>
  138. <!-- 系统模块-->
  139. <dependency>
  140. <groupId>com.ruoyi</groupId>
  141. <artifactId>ruoyi-system</artifactId>
  142. <version>${ruoyi.version}</version>
  143. </dependency>
  144. <!-- 通用工具-->
  145. <dependency>
  146. <groupId>com.ruoyi</groupId>
  147. <artifactId>ruoyi-common</artifactId>
  148. <version>${ruoyi.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.ruoyi</groupId>
  152. <artifactId>jjkj-transport</artifactId>
  153. <version>${ruoyi.version}</version>
  154. </dependency>
  155. <!-- 检测业务-->
  156. <dependency>
  157. <groupId>com.ruoyi</groupId>
  158. <artifactId>ruoyi-jcnew</artifactId>
  159. <version>${ruoyi.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.ruoyi</groupId>
  163. <artifactId>ruoyi-logging</artifactId>
  164. <version>${ruoyi.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>net.java.dev.jna</groupId>
  168. <artifactId>jna</artifactId>
  169. <version>3.0.9</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.jeecgframework.jimureport</groupId>
  173. <artifactId>jimureport-spring-boot-starter</artifactId>
  174. <version>1.6.6</version>
  175. </dependency>
  176. </dependencies>
  177. </dependencyManagement>
  178. <modules>
  179. <module>ruoyi-admin</module>
  180. <module>ruoyi-framework</module>
  181. <module>ruoyi-system</module>
  182. <module>ruoyi-quartz</module>
  183. <module>ruoyi-generator</module>
  184. <module>ruoyi-common</module>
  185. <module>ruoyi-jcnew</module>
  186. <module>ruoyi-logging</module>
  187. <module>jjkj-transport</module>
  188. </modules>
  189. <packaging>pom</packaging>
  190. <build>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-compiler-plugin</artifactId>
  195. <version>3.1</version>
  196. <configuration>
  197. <source>${java.version}</source>
  198. <target>${java.version}</target>
  199. <encoding>${project.build.sourceEncoding}</encoding>
  200. </configuration>
  201. </plugin>
  202. <plugin>
  203. <groupId>org.apache.maven.plugins</groupId>
  204. <artifactId>maven-war-plugin</artifactId>
  205. <configuration>
  206. <webResources>
  207. <resource>
  208. <directory>${project.basedir}/lib</directory>
  209. <targetPath>WEB-INF/lib</targetPath>
  210. <filtering>flase</filtering>
  211. <includes>
  212. <include>**/*.jar</include>
  213. </includes>
  214. </resource>
  215. </webResources>
  216. </configuration>
  217. </plugin>
  218. <!-- ProGuard混淆插件-->
  219. <!-- <plugin>-->
  220. <!-- <groupId>com.github.wvengen</groupId>-->
  221. <!-- <artifactId>proguard-maven-plugin</artifactId>-->
  222. <!-- <version>2.6.0</version>-->
  223. <!-- <executions>-->
  224. <!-- &lt;!&ndash; package时执行proguard &ndash;&gt;-->
  225. <!-- <execution>-->
  226. <!-- <phase>package</phase>-->
  227. <!-- <goals>-->
  228. <!-- <goal>proguard</goal>-->
  229. <!-- </goals>-->
  230. <!-- </execution>-->
  231. <!-- </executions>-->
  232. <!-- <configuration>-->
  233. <!-- &lt;!&ndash; 输入的jar包 &ndash;&gt;-->
  234. <!-- <injar>${project.build.finalName}.jar</injar>-->
  235. <!-- &lt;!&ndash; 输出的jar包 &ndash;&gt;-->
  236. <!-- <outjar>${project.build.finalName}.jar</outjar>-->
  237. <!-- &lt;!&ndash; 是否进行混淆,默认为true &ndash;&gt;-->
  238. <!-- <obfuscate>true</obfuscate>-->
  239. <!-- &lt;!&ndash; 配置文件,通常为proguard.cfg,主要对options选项进行配置,所有的options选项都可以进行配置 &ndash;&gt;-->
  240. <!-- <proguardInclude>${project.basedir}/proguard.cfg</proguardInclude>-->
  241. <!-- &lt;!&ndash; 额外的jar,项目编译所需的jar &ndash;&gt;-->
  242. <!-- <libs>-->
  243. <!-- <lib>${java.home}/lib/rt.jar</lib>-->
  244. <!-- &lt;!&ndash;<lib>${java.home}/lib/jce.jar</lib>&ndash;&gt;-->
  245. <!-- <lib>${java.home}/lib/jsse.jar</lib>-->
  246. <!-- </libs>-->
  247. <!-- &lt;!&ndash; 对输入jar进行过滤,如对META-INFO文件不处理 &ndash;&gt;-->
  248. <!-- <inLibsFilter>!META-INF/**,!META-INF/versions/**</inLibsFilter>-->
  249. <!-- &lt;!&ndash; 输出路径配置,必须包含injar标签中填写的jar &ndash;&gt;-->
  250. <!-- <outputDirectory>${project.build.directory}</outputDirectory>-->
  251. <!-- &lt;!&ndash; 因为window的cmd有长度限制,而proguard混淆时依赖太多的jar包导致命令行过长在proguard-maven-plugin的configuration中加入下面配置,这个配置会把jar包放到临时目录以便缩短命令行&ndash;&gt;-->
  252. <!-- <putLibraryJarsInTempDir>true</putLibraryJarsInTempDir>-->
  253. <!-- </configuration>-->
  254. <!-- </plugin>-->
  255. </plugins>
  256. </build>
  257. <repositories>
  258. <repository>
  259. <id>public</id>
  260. <name>aliyun nexus</name>
  261. <url>https://maven.aliyun.com/repository/public</url>
  262. <releases>
  263. <enabled>true</enabled>
  264. </releases>
  265. </repository>
  266. </repositories>
  267. <pluginRepositories>
  268. <pluginRepository>
  269. <id>public</id>
  270. <name>aliyun nexus</name>
  271. <url>https://maven.aliyun.com/repository/public</url>
  272. <releases>
  273. <enabled>true</enabled>
  274. </releases>
  275. <snapshots>
  276. <enabled>false</enabled>
  277. </snapshots>
  278. </pluginRepository>
  279. </pluginRepositories>
  280. </project>