pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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.tuoren</groupId>
  7. <artifactId>nb-root</artifactId>
  8. <name>${project.artifactId}</name>
  9. <packaging>pom</packaging>
  10. <version>1.0</version>
  11. <properties>
  12. <nb.version>1.0</nb.version>
  13. <java.version>1.8</java.version>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <versions-maven-plugin.version>2.7</versions-maven-plugin.version>
  19. <skipTests>true</skipTests>
  20. <hutool.version>5.7.21</hutool.version>
  21. <guava.version>30.1.1-jre</guava.version>
  22. <druid.version>1.2.8</druid.version>
  23. <spring-boot.version>2.5.8</spring-boot.version>
  24. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  25. <mybatis-plus-generator.version>3.4.1</mybatis-plus-generator.version>
  26. <mysql-connector.version>8.0.27</mysql-connector.version>
  27. <fastjson.version>1.2.79</fastjson.version>
  28. <easyexcel.version>3.0.5</easyexcel.version>
  29. <minio.version>8.3.7</minio.version>
  30. <okhttp.version>4.9.3</okhttp.version>
  31. <velocity.version>2.3</velocity.version>
  32. <log4j2.version>2.17.1</log4j2.version>
  33. <satoken.version>1.29.0</satoken.version>
  34. <springfox.version>3.0.0</springfox.version>
  35. <tio.version>3.6.0.v20200315-RELEASE</tio.version>
  36. <jython.version>2.7.1</jython.version>
  37. <knife4j.version>2.0.7</knife4j.version>
  38. <redisson.version>3.17.0</redisson.version>
  39. <captcha.version>1.6.2</captcha.version>
  40. <aliyun.iot.verison>7.31.0</aliyun.iot.verison>
  41. <aliyun.sdk.verison>4.5.6</aliyun.sdk.verison>
  42. <jms.verison>0.56.0</jms.verison>
  43. </properties>
  44. <modules>
  45. <module>nb-admin</module>
  46. <module>nb-common</module>
  47. <module>nb-oss</module>
  48. <module>nb-auth</module>
  49. <module>nb-core</module>
  50. <module>nb-service-api</module>
  51. <module>nb-service</module>
  52. </modules>
  53. <dependencies>
  54. <!-- test -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-actuator</artifactId>
  63. </dependency>
  64. </dependencies>
  65. <!-- 依赖管理 -->
  66. <dependencyManagement>
  67. <dependencies>
  68. <dependency>
  69. <groupId>com.tuoren</groupId>
  70. <artifactId>ws-common</artifactId>
  71. <version>${nb.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.tuoren</groupId>
  75. <artifactId>config-common</artifactId>
  76. <version>${nb.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.tuoren</groupId>
  80. <artifactId>crud-common</artifactId>
  81. <version>${nb.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.tuoren</groupId>
  85. <artifactId>delay-queue-common</artifactId>
  86. <version>${nb.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.tuoren</groupId>
  90. <artifactId>log-common</artifactId>
  91. <version>${nb.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.tuoren</groupId>
  95. <artifactId>nb-core</artifactId>
  96. <version>${nb.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.tuoren</groupId>
  100. <artifactId>nb-auth</artifactId>
  101. <version>${nb.version}</version>
  102. </dependency>
  103. <!-- https://mvnrepository.com/artifact/org.python/jython-standalone -->
  104. <dependency>
  105. <groupId>org.python</groupId>
  106. <artifactId>jython-standalone</artifactId>
  107. <version>${jython.version}</version>
  108. </dependency>
  109. <!-- spring boot -->
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-dependencies</artifactId>
  113. <version>${spring-boot.version}</version>
  114. <type>pom</type>
  115. <scope>import</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.t-io</groupId>
  119. <artifactId>tio-websocket-spring-boot-starter</artifactId>
  120. <version>${tio.version}</version>
  121. </dependency>
  122. <!--swagger模块 -->
  123. <dependency>
  124. <groupId>com.github.xiaoymin</groupId>
  125. <artifactId>knife4j-spring-boot-starter</artifactId>
  126. <version>${knife4j.version}</version>
  127. </dependency>
  128. <!--阿里数据库连接池 -->
  129. <dependency>
  130. <groupId>com.alibaba</groupId>
  131. <artifactId>druid-spring-boot-starter</artifactId>
  132. <version>${druid.version}</version>
  133. </dependency>
  134. <!-- web 模块 -->
  135. <dependency>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-starter-web</artifactId>
  138. <version>${spring-boot.version}</version>
  139. </dependency>
  140. <!-- mybatis plus -->
  141. <dependency>
  142. <groupId>com.baomidou</groupId>
  143. <artifactId>mybatis-plus-boot-starter</artifactId>
  144. <version>${mybatis-plus.version}</version>
  145. </dependency>
  146. <!-- mybatis plus generator -->
  147. <dependency>
  148. <groupId>com.baomidou</groupId>
  149. <artifactId>mybatis-plus-generator</artifactId>
  150. <version>${mybatis-plus-generator.version}</version>
  151. </dependency>
  152. <!-- MySQL -->
  153. <dependency>
  154. <groupId>mysql</groupId>
  155. <artifactId>mysql-connector-java</artifactId>
  156. <version>${mysql-connector.version}</version>
  157. </dependency>
  158. <!-- hutool -->
  159. <dependency>
  160. <groupId>cn.hutool</groupId>
  161. <artifactId>hutool-all</artifactId>
  162. <version>${hutool.version}</version>
  163. </dependency>
  164. <!-- guava -->
  165. <dependency>
  166. <groupId>com.google.guava</groupId>
  167. <artifactId>guava</artifactId>
  168. <version>${guava.version}</version>
  169. </dependency>
  170. <!-- fastjson -->
  171. <dependency>
  172. <groupId>com.alibaba</groupId>
  173. <artifactId>fastjson</artifactId>
  174. <version>${fastjson.version}</version>
  175. </dependency>
  176. <!-- easyexcel -->
  177. <dependency>
  178. <groupId>com.alibaba</groupId>
  179. <artifactId>easyexcel</artifactId>
  180. <version>${easyexcel.version}</version>
  181. </dependency>
  182. <!-- velocity -->
  183. <dependency>
  184. <groupId>org.apache.velocity</groupId>
  185. <artifactId>velocity-engine-core</artifactId>
  186. <version>${velocity.version}</version>
  187. </dependency>
  188. <!-- minio -->
  189. <dependency>
  190. <groupId>io.minio</groupId>
  191. <artifactId>minio</artifactId>
  192. <version>${minio.version}</version>
  193. </dependency>
  194. <!-- okhttp -->
  195. <dependency>
  196. <groupId>com.squareup.okhttp3</groupId>
  197. <artifactId>okhttp</artifactId>
  198. <version>${okhttp.version}</version>
  199. </dependency>
  200. <!-- log4j -->
  201. <dependency>
  202. <groupId>org.apache.logging.log4j</groupId>
  203. <artifactId>log4j-api</artifactId>
  204. <version>${log4j2.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.apache.logging.log4j</groupId>
  208. <artifactId>log4j-to-slf4j</artifactId>
  209. <version>${log4j2.version}</version>
  210. </dependency>
  211. <!-- sa-token -->
  212. <dependency>
  213. <groupId>cn.dev33</groupId>
  214. <artifactId>sa-token-spring-boot-starter</artifactId>
  215. <version>${satoken.version}</version>
  216. </dependency>
  217. <!-- sa-token redis -->
  218. <dependency>
  219. <groupId>cn.dev33</groupId>
  220. <artifactId>sa-token-dao-redis-jackson</artifactId>
  221. <version>${satoken.version}</version>
  222. </dependency>
  223. <!-- 核心模块 -->
  224. <!-- 通用模块 -->
  225. <!-- 系统模块 -->
  226. <dependency>
  227. <groupId>com.tuoren</groupId>
  228. <artifactId>iot-service-api</artifactId>
  229. <version>${nb.version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.tuoren</groupId>
  233. <artifactId>iot-service</artifactId>
  234. <version>${nb.version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.tuoren</groupId>
  238. <artifactId>web-service-api</artifactId>
  239. <version>${nb.version}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.tuoren</groupId>
  243. <artifactId>web-service</artifactId>
  244. <version>${nb.version}</version>
  245. </dependency>
  246. <!-- OSS文件存储模块 -->
  247. <dependency>
  248. <groupId>com.tuoren</groupId>
  249. <artifactId>nb-oss</artifactId>
  250. <version>${nb.version}</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>org.jboss.marshalling</groupId>
  254. <artifactId>jboss-marshalling</artifactId>
  255. <version>2.0.9.Final</version>
  256. </dependency>
  257. <!-- redisson配置 -->
  258. <dependency>
  259. <groupId>org.redisson</groupId>
  260. <artifactId>redisson-spring-boot-starter</artifactId>
  261. <version>${redisson.version}</version>
  262. <exclusions>
  263. <exclusion>
  264. <groupId>org.springframework.boot</groupId>
  265. <artifactId>spring-boot-starter-web</artifactId>
  266. </exclusion>
  267. </exclusions>
  268. </dependency>
  269. <!--验证码配置-->
  270. <dependency>
  271. <groupId>com.github.whvcse</groupId>
  272. <artifactId>easy-captcha</artifactId>
  273. <version>${captcha.version}</version>
  274. </dependency>
  275. <!--阿里云物联网sdk-->
  276. <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-iot -->
  277. <dependency>
  278. <groupId>com.aliyun</groupId>
  279. <artifactId>aliyun-java-sdk-iot</artifactId>
  280. <version>${aliyun.iot.verison}</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.aliyun</groupId>
  284. <artifactId>aliyun-java-sdk-core</artifactId>
  285. <version>${aliyun.sdk.verison}</version>
  286. </dependency>
  287. <!-- amqp 1.0 qpid client -->
  288. <dependency>
  289. <groupId>org.apache.qpid</groupId>
  290. <artifactId>qpid-jms-client</artifactId>
  291. <version>${jms.verison}</version>
  292. </dependency>
  293. </dependencies>
  294. </dependencyManagement>
  295. </project>