pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  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.version>4.1.0.5</getui.version>
  45. </properties>
  46. <!-- 依赖声明 -->
  47. <dependencyManagement>
  48. <dependencies>
  49. <!-- SpringBoot的依赖配置-->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-dependencies</artifactId>
  53. <version>2.2.13.RELEASE</version>
  54. <type>pom</type>
  55. <scope>import</scope>
  56. </dependency>
  57. <!-- 阿里数据库连接池 -->
  58. <dependency>
  59. <groupId>com.alibaba</groupId>
  60. <artifactId>druid-spring-boot-starter</artifactId>
  61. <version>${druid.version}</version>
  62. </dependency>
  63. <!-- 验证码 -->
  64. <dependency>
  65. <groupId>com.github.penggle</groupId>
  66. <artifactId>kaptcha</artifactId>
  67. <version>${kaptcha.version}</version>
  68. </dependency>
  69. <!-- 解析客户端操作系统、浏览器等 -->
  70. <dependency>
  71. <groupId>eu.bitwalker</groupId>
  72. <artifactId>UserAgentUtils</artifactId>
  73. <version>${bitwalker.version}</version>
  74. </dependency>
  75. <!-- SpringBoot集成mybatis框架 -->
  76. <dependency>
  77. <groupId>org.mybatis.spring.boot</groupId>
  78. <artifactId>mybatis-spring-boot-starter</artifactId>
  79. <version>${mybatis-spring-boot.version}</version>
  80. </dependency>
  81. <!-- pagehelper 分页插件 -->
  82. <dependency>
  83. <groupId>com.github.pagehelper</groupId>
  84. <artifactId>pagehelper-spring-boot-starter</artifactId>
  85. <version>${pagehelper.boot.version}</version>
  86. </dependency>
  87. <!-- 获取系统信息 -->
  88. <dependency>
  89. <groupId>com.github.oshi</groupId>
  90. <artifactId>oshi-core</artifactId>
  91. <version>${oshi.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>net.java.dev.jna</groupId>
  95. <artifactId>jna</artifactId>
  96. <version>${jna.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>net.java.dev.jna</groupId>
  100. <artifactId>jna-platform</artifactId>
  101. <version>${jna.version}</version>
  102. </dependency>
  103. <!-- Swagger3依赖 -->
  104. <dependency>
  105. <groupId>io.springfox</groupId>
  106. <artifactId>springfox-boot-starter</artifactId>
  107. <version>${swagger.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>io.swagger</groupId>
  111. <artifactId>swagger-annotations</artifactId>
  112. <version>${swagger-annotations.version}</version>
  113. </dependency>
  114. <!-- io常用工具类 -->
  115. <dependency>
  116. <groupId>commons-io</groupId>
  117. <artifactId>commons-io</artifactId>
  118. <version>${commons.io.version}</version>
  119. </dependency>
  120. <!-- 文件上传工具类 -->
  121. <dependency>
  122. <groupId>commons-fileupload</groupId>
  123. <artifactId>commons-fileupload</artifactId>
  124. <version>${commons.fileupload.version}</version>
  125. </dependency>
  126. <!-- FastDFS 分布式文件系统 -->
  127. <dependency>
  128. <groupId>com.github.tobato</groupId>
  129. <artifactId>fastdfs-client</artifactId>
  130. <version>${tobato.version}</version>
  131. </dependency>
  132. <!-- Minio -->
  133. <dependency>
  134. <groupId>io.minio</groupId>
  135. <artifactId>minio</artifactId>
  136. <version>${minio.version}</version>
  137. </dependency>
  138. <!-- excel工具 -->
  139. <dependency>
  140. <groupId>org.apache.poi</groupId>
  141. <artifactId>poi-ooxml</artifactId>
  142. <version>${poi.version}</version>
  143. </dependency>
  144. <!-- velocity代码生成使用模板 -->
  145. <dependency>
  146. <groupId>org.apache.velocity</groupId>
  147. <artifactId>velocity</artifactId>
  148. <version>${velocity.version}</version>
  149. <exclusions>
  150. <exclusion>
  151. <groupId>commons-collections</groupId>
  152. <artifactId>commons-collections</artifactId>
  153. </exclusion>
  154. </exclusions>
  155. </dependency>
  156. <!-- 阿里JSON解析器 -->
  157. <dependency>
  158. <groupId>com.alibaba</groupId>
  159. <artifactId>fastjson</artifactId>
  160. <version>${fastjson.version}</version>
  161. </dependency>
  162. <!-- Token生成与解析-->
  163. <dependency>
  164. <groupId>io.jsonwebtoken</groupId>
  165. <artifactId>jjwt</artifactId>
  166. <version>${jwt.version}</version>
  167. </dependency>
  168. <!-- lombok -->
  169. <dependency>
  170. <groupId>org.projectlombok</groupId>
  171. <artifactId>lombok</artifactId>
  172. <version>${lombok.version}</version>
  173. </dependency>
  174. <!-- 个推 -->
  175. <dependency>
  176. <groupId>com.gexin.platform</groupId>
  177. <artifactId>gexin-rp-sdk-http</artifactId>
  178. <version>${getui.version}</version>
  179. </dependency>
  180. <!-- 核心模块-->
  181. <dependency>
  182. <groupId>com.railway</groupId>
  183. <artifactId>railway-framework</artifactId>
  184. <version>${railway.version}</version>
  185. </dependency>
  186. <!-- 系统模块-->
  187. <dependency>
  188. <groupId>com.railway</groupId>
  189. <artifactId>railway-system</artifactId>
  190. <version>${railway.version}</version>
  191. </dependency>
  192. <!-- 通用工具-->
  193. <dependency>
  194. <groupId>com.railway</groupId>
  195. <artifactId>railway-common</artifactId>
  196. <version>${railway.version}</version>
  197. </dependency>
  198. <!-- 业务模块 -->
  199. <dependency>
  200. <groupId>com.railway</groupId>
  201. <artifactId>railway-business</artifactId>
  202. <version>${railway.version}</version>
  203. </dependency>
  204. </dependencies>
  205. </dependencyManagement>
  206. <build>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-compiler-plugin</artifactId>
  211. <version>3.1</version>
  212. <configuration>
  213. <source>${java.version}</source>
  214. <target>${java.version}</target>
  215. <encoding>${project.build.sourceEncoding}</encoding>
  216. </configuration>
  217. </plugin>
  218. </plugins>
  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. <repository>
  230. <id>getui-nexus</id>
  231. <url>http://mvn.gt.getui.com/nexus/content/repositories/releases/</url>
  232. </repository>
  233. </repositories>
  234. <pluginRepositories>
  235. <pluginRepository>
  236. <id>public</id>
  237. <name>aliyun nexus</name>
  238. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  239. <releases>
  240. <enabled>true</enabled>
  241. </releases>
  242. <snapshots>
  243. <enabled>false</enabled>
  244. </snapshots>
  245. </pluginRepository>
  246. </pluginRepositories>
  247. </project>