pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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.warewms</groupId>
  7. <artifactId>warewms</artifactId>
  8. <version>1.0.0</version>
  9. <name>warewms</name>
  10. <url>http://www.warewms.com</url>
  11. <description>ams管理系统</description>
  12. <properties>
  13. <warewms.version>1.0.0</warewms.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.9</druid.version>
  19. <bitwalker.version>1.21</bitwalker.version>
  20. <swagger.version>3.0.0</swagger.version>
  21. <kaptcha.version>2.3.2</kaptcha.version>
  22. <mybatisplus.version>3.5.2</mybatisplus.version>
  23. <pagehelper.boot.version>1.3.0</pagehelper.boot.version>
  24. <fastjson.version>1.2.79</fastjson.version>
  25. <oshi.version>5.8.6</oshi.version>
  26. <jna.version>5.10.0</jna.version>
  27. <commons.io.version>2.11.0</commons.io.version>
  28. <commons.fileupload.version>1.4</commons.fileupload.version>
  29. <commons.collections.version>3.2.2</commons.collections.version>
  30. <poi.version>4.1.2</poi.version>
  31. <velocity.version>2.3</velocity.version>
  32. <jwt.version>0.9.1</jwt.version>
  33. <skipTests>true</skipTests>
  34. <lombok.version>1.18.24</lombok.version>
  35. <hutool.version>5.8.5</hutool.version>
  36. <httpclient.version>4.5.2</httpclient.version>
  37. </properties>
  38. <!-- 依赖声明 -->
  39. <dependencyManagement>
  40. <dependencies>
  41. <!-- SpringBoot的依赖配置-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-dependencies</artifactId>
  45. <version>2.5.9</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.baomidou</groupId>
  51. <artifactId>mybatis-plus-boot-starter</artifactId>
  52. <version>${mybatisplus.version}</version>
  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>eu.bitwalker</groupId>
  63. <artifactId>UserAgentUtils</artifactId>
  64. <version>${bitwalker.version}</version>
  65. </dependency>
  66. <!-- pagehelper 分页插件 -->
  67. <dependency>
  68. <groupId>com.github.pagehelper</groupId>
  69. <artifactId>pagehelper-spring-boot-starter</artifactId>
  70. <version>${pagehelper.boot.version}</version>
  71. </dependency>
  72. <!-- 获取系统信息 -->
  73. <dependency>
  74. <groupId>com.github.oshi</groupId>
  75. <artifactId>oshi-core</artifactId>
  76. <version>${oshi.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>net.java.dev.jna</groupId>
  80. <artifactId>jna</artifactId>
  81. <version>${jna.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>net.java.dev.jna</groupId>
  85. <artifactId>jna-platform</artifactId>
  86. <version>${jna.version}</version>
  87. </dependency>
  88. <!-- Swagger3依赖 -->
  89. <dependency>
  90. <groupId>io.springfox</groupId>
  91. <artifactId>springfox-boot-starter</artifactId>
  92. <version>${swagger.version}</version>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>io.swagger</groupId>
  96. <artifactId>swagger-models</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. <!-- io常用工具类 -->
  101. <dependency>
  102. <groupId>commons-io</groupId>
  103. <artifactId>commons-io</artifactId>
  104. <version>${commons.io.version}</version>
  105. </dependency>
  106. <!-- 文件上传工具类 -->
  107. <dependency>
  108. <groupId>commons-fileupload</groupId>
  109. <artifactId>commons-fileupload</artifactId>
  110. <version>${commons.fileupload.version}</version>
  111. </dependency>
  112. <!-- excel工具 -->
  113. <dependency>
  114. <groupId>org.apache.poi</groupId>
  115. <artifactId>poi-ooxml</artifactId>
  116. <version>${poi.version}</version>
  117. </dependency>
  118. <!-- velocity代码生成使用模板 -->
  119. <dependency>
  120. <groupId>org.apache.velocity</groupId>
  121. <artifactId>velocity-engine-core</artifactId>
  122. <version>${velocity.version}</version>
  123. </dependency>
  124. <!-- collections工具类 -->
  125. <dependency>
  126. <groupId>commons-collections</groupId>
  127. <artifactId>commons-collections</artifactId>
  128. <version>${commons.collections.version}</version>
  129. </dependency>
  130. <!-- 阿里JSON解析器 -->
  131. <dependency>
  132. <groupId>com.alibaba</groupId>
  133. <artifactId>fastjson</artifactId>
  134. <version>${fastjson.version}</version>
  135. </dependency>
  136. <!-- Token生成与解析-->
  137. <dependency>
  138. <groupId>io.jsonwebtoken</groupId>
  139. <artifactId>jjwt</artifactId>
  140. <version>${jwt.version}</version>
  141. </dependency>
  142. <!-- 验证码 -->
  143. <dependency>
  144. <groupId>com.github.penggle</groupId>
  145. <artifactId>kaptcha</artifactId>
  146. <version>${kaptcha.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.projectlombok</groupId>
  150. <artifactId>lombok</artifactId>
  151. <version>${lombok.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>cn.hutool</groupId>
  155. <artifactId>hutool-all</artifactId>
  156. <version>${hutool.version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.apache.httpcomponents</groupId>
  160. <artifactId>httpclient</artifactId>
  161. <version>${httpclient.version}</version>
  162. </dependency>
  163. <!-- ams模块-->
  164. <dependency>
  165. <groupId>com.warewms</groupId>
  166. <artifactId>warewms-ams</artifactId>
  167. <version>${warewms.version}</version>
  168. </dependency>
  169. <!-- modbus模块-->
  170. <dependency>
  171. <groupId>com.warewms</groupId>
  172. <artifactId>warewms-hard</artifactId>
  173. <version>${warewms.version}</version>
  174. </dependency>
  175. </dependencies>
  176. </dependencyManagement>
  177. <modules>
  178. <module>warewms-ams</module>
  179. <module>warewms-hard</module>
  180. </modules>
  181. <packaging>pom</packaging>
  182. <build>
  183. <plugins>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-compiler-plugin</artifactId>
  187. <version>3.1</version>
  188. <configuration>
  189. <source>${java.version}</source>
  190. <target>${java.version}</target>
  191. <encoding>${project.build.sourceEncoding}</encoding>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </build>
  196. <repositories>
  197. <repository>
  198. <id>public</id>
  199. <name>aliyun nexus</name>
  200. <url>https://maven.aliyun.com/repository/public</url>
  201. <releases>
  202. <enabled>true</enabled>
  203. </releases>
  204. </repository>
  205. </repositories>
  206. <pluginRepositories>
  207. <pluginRepository>
  208. <id>public</id>
  209. <name>aliyun nexus</name>
  210. <url>https://maven.aliyun.com/repository/public</url>
  211. <releases>
  212. <enabled>true</enabled>
  213. </releases>
  214. <snapshots>
  215. <enabled>false</enabled>
  216. </snapshots>
  217. </pluginRepository>
  218. </pluginRepositories>
  219. </project>