pom.xml 7.6 KB

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