pom.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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.railway</groupId>
  7. <artifactId>railway</artifactId>
  8. <version>1.0.0</version>
  9. <name>railway</name>
  10. <description>管理系统</description>
  11. <packaging>pom</packaging>
  12. <modules>
  13. <module>railway-admin</module>
  14. <module>railway-framework</module>
  15. <module>railway-system</module>
  16. <module>railway-common</module>
  17. <module>railway-business</module>
  18. </modules>
  19. <properties>
  20. <railway.version>1.0.0</railway.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <java.version>1.8</java.version>
  24. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  25. <shiro.version>1.8.0</shiro.version>
  26. <druid.version>1.2.6</druid.version>
  27. <bitwalker.version>1.21</bitwalker.version>
  28. <kaptcha.version>2.3.2</kaptcha.version>
  29. <swagger.version>3.0.0</swagger.version>
  30. <swagger-annotations.version>1.6.2</swagger-annotations.version>
  31. <mybatis-spring-boot.version>2.1.4</mybatis-spring-boot.version>
  32. <pagehelper.boot.version>1.3.1</pagehelper.boot.version>
  33. <fastjson.version>1.2.78</fastjson.version>
  34. <oshi.version>5.8.0</oshi.version>
  35. <jna.version>5.8.0</jna.version>
  36. <commons.io.version>2.11.0</commons.io.version>
  37. <commons.fileupload.version>1.4</commons.fileupload.version>
  38. <poi.version>4.1.2</poi.version>
  39. <velocity.version>1.7</velocity.version>
  40. <lombok.version>1.18.6</lombok.version>
  41. <jwt.version>0.9.1</jwt.version>
  42. <tobato.version>1.27.2</tobato.version>
  43. <minio.version>8.2.2</minio.version>
  44. <getui-http.version>4.1.2.1</getui-http.version>
  45. <getui-template.version>4.0.0.31</getui-template.version>
  46. <getui-base.version>4.0.0.38</getui-base.version>
  47. <getui-fastjson.version>1.0.0.7</getui-fastjson.version>
  48. <protobuf.version>3.19.1</protobuf.version>
  49. <log4j.version>2.15.0</log4j.version>
  50. <maven-plugin.version>2.6.1</maven-plugin.version>
  51. </properties>
  52. <!-- 依赖声明 -->
  53. <dependencyManagement>
  54. <dependencies>
  55. <!-- SpringBoot的依赖配置-->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-dependencies</artifactId>
  59. <version>2.2.13.RELEASE</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. <!-- 阿里数据库连接池 -->
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid-spring-boot-starter</artifactId>
  67. <version>${druid.version}</version>
  68. </dependency>
  69. <!-- 验证码 -->
  70. <dependency>
  71. <groupId>com.github.penggle</groupId>
  72. <artifactId>kaptcha</artifactId>
  73. <version>${kaptcha.version}</version>
  74. </dependency>
  75. <!-- 解析客户端操作系统、浏览器等 -->
  76. <dependency>
  77. <groupId>eu.bitwalker</groupId>
  78. <artifactId>UserAgentUtils</artifactId>
  79. <version>${bitwalker.version}</version>
  80. </dependency>
  81. <!-- SpringBoot集成mybatis框架 -->
  82. <dependency>
  83. <groupId>org.mybatis.spring.boot</groupId>
  84. <artifactId>mybatis-spring-boot-starter</artifactId>
  85. <version>${mybatis-spring-boot.version}</version>
  86. </dependency>
  87. <!-- pagehelper 分页插件 -->
  88. <dependency>
  89. <groupId>com.github.pagehelper</groupId>
  90. <artifactId>pagehelper-spring-boot-starter</artifactId>
  91. <version>${pagehelper.boot.version}</version>
  92. </dependency>
  93. <!-- 获取系统信息 -->
  94. <dependency>
  95. <groupId>com.github.oshi</groupId>
  96. <artifactId>oshi-core</artifactId>
  97. <version>${oshi.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>net.java.dev.jna</groupId>
  101. <artifactId>jna</artifactId>
  102. <version>${jna.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>net.java.dev.jna</groupId>
  106. <artifactId>jna-platform</artifactId>
  107. <version>${jna.version}</version>
  108. </dependency>
  109. <!-- Swagger3依赖 -->
  110. <dependency>
  111. <groupId>io.springfox</groupId>
  112. <artifactId>springfox-boot-starter</artifactId>
  113. <version>${swagger.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>io.swagger</groupId>
  117. <artifactId>swagger-annotations</artifactId>
  118. <version>${swagger-annotations.version}</version>
  119. </dependency>
  120. <!-- io常用工具类 -->
  121. <dependency>
  122. <groupId>commons-io</groupId>
  123. <artifactId>commons-io</artifactId>
  124. <version>${commons.io.version}</version>
  125. </dependency>
  126. <!-- 文件上传工具类 -->
  127. <dependency>
  128. <groupId>commons-fileupload</groupId>
  129. <artifactId>commons-fileupload</artifactId>
  130. <version>${commons.fileupload.version}</version>
  131. </dependency>
  132. <!-- FastDFS 分布式文件系统 -->
  133. <dependency>
  134. <groupId>com.github.tobato</groupId>
  135. <artifactId>fastdfs-client</artifactId>
  136. <version>${tobato.version}</version>
  137. </dependency>
  138. <!-- Minio -->
  139. <dependency>
  140. <groupId>io.minio</groupId>
  141. <artifactId>minio</artifactId>
  142. <version>${minio.version}</version>
  143. </dependency>
  144. <!-- excel工具 -->
  145. <dependency>
  146. <groupId>org.apache.poi</groupId>
  147. <artifactId>poi-ooxml</artifactId>
  148. <version>${poi.version}</version>
  149. </dependency>
  150. <!-- velocity代码生成使用模板 -->
  151. <dependency>
  152. <groupId>org.apache.velocity</groupId>
  153. <artifactId>velocity</artifactId>
  154. <version>${velocity.version}</version>
  155. <exclusions>
  156. <exclusion>
  157. <groupId>commons-collections</groupId>
  158. <artifactId>commons-collections</artifactId>
  159. </exclusion>
  160. </exclusions>
  161. </dependency>
  162. <!-- 阿里JSON解析器 -->
  163. <dependency>
  164. <groupId>com.alibaba</groupId>
  165. <artifactId>fastjson</artifactId>
  166. <version>${fastjson.version}</version>
  167. </dependency>
  168. <!-- Token生成与解析-->
  169. <dependency>
  170. <groupId>io.jsonwebtoken</groupId>
  171. <artifactId>jjwt</artifactId>
  172. <version>${jwt.version}</version>
  173. </dependency>
  174. <!-- lombok -->
  175. <dependency>
  176. <groupId>org.projectlombok</groupId>
  177. <artifactId>lombok</artifactId>
  178. <version>${lombok.version}</version>
  179. </dependency>
  180. <!-- 打包插件 -->
  181. <dependency>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-maven-plugin</artifactId>
  184. <version>${maven-plugin.version}</version>
  185. </dependency>
  186. <!-- 日志 -->
  187. <dependency>
  188. <groupId>org.apache.logging.log4j</groupId>
  189. <artifactId>log4j-to-slf4j</artifactId>
  190. <version>${log4j.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.apache.logging.log4j</groupId>
  194. <artifactId>log4j-api</artifactId>
  195. <version>${log4j.version}</version>
  196. </dependency>
  197. <!-- 核心模块-->
  198. <dependency>
  199. <groupId>com.railway</groupId>
  200. <artifactId>railway-framework</artifactId>
  201. <version>${railway.version}</version>
  202. </dependency>
  203. <!-- 系统模块-->
  204. <dependency>
  205. <groupId>com.railway</groupId>
  206. <artifactId>railway-system</artifactId>
  207. <version>${railway.version}</version>
  208. </dependency>
  209. <!-- 通用工具-->
  210. <dependency>
  211. <groupId>com.railway</groupId>
  212. <artifactId>railway-common</artifactId>
  213. <version>${railway.version}</version>
  214. </dependency>
  215. <!-- 业务模块 -->
  216. <dependency>
  217. <groupId>com.railway</groupId>
  218. <artifactId>railway-business</artifactId>
  219. <version>${railway.version}</version>
  220. </dependency>
  221. </dependencies>
  222. </dependencyManagement>
  223. <build>
  224. <plugins>
  225. <plugin>
  226. <groupId>org.apache.maven.plugins</groupId>
  227. <artifactId>maven-compiler-plugin</artifactId>
  228. <version>3.1</version>
  229. <configuration>
  230. <source>${java.version}</source>
  231. <target>${java.version}</target>
  232. <encoding>${project.build.sourceEncoding}</encoding>
  233. </configuration>
  234. </plugin>
  235. <plugin>
  236. <groupId>org.springframework.boot</groupId>
  237. <artifactId>spring-boot-maven-plugin</artifactId>
  238. <version>2.6.1</version>
  239. <configuration>
  240. <includeSystemScope>true</includeSystemScope>
  241. </configuration>
  242. </plugin>
  243. </plugins>
  244. </build>
  245. <repositories>
  246. <repository>
  247. <id>public</id>
  248. <name>aliyun nexus</name>
  249. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  250. <releases>
  251. <enabled>true</enabled>
  252. </releases>
  253. </repository>
  254. </repositories>
  255. <pluginRepositories>
  256. <pluginRepository>
  257. <id>public</id>
  258. <name>aliyun nexus</name>
  259. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  260. <releases>
  261. <enabled>true</enabled>
  262. </releases>
  263. <snapshots>
  264. <enabled>false</enabled>
  265. </snapshots>
  266. </pluginRepository>
  267. </pluginRepositories>
  268. </project>