pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.1.3.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>cn.minbb</groupId>
  12. <artifactId>IoTServer</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>IoTServer</name>
  15. <description>IotServer project for Spring Boot</description>
  16. <packaging>war</packaging>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <!-- Tomcat -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-tomcat</artifactId>
  25. <scope>provided</scope>
  26. </dependency>
  27. <!-- Web -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-test</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <!-- MySQL -->
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. <scope>runtime</scope>
  42. </dependency>
  43. <!-- JPA -->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-data-jpa</artifactId>
  47. </dependency>
  48. <!-- 模板引擎 -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  52. </dependency>
  53. <!-- 避免 layout:fragment 失效 -->
  54. <dependency>
  55. <groupId>nz.net.ultraq.thymeleaf</groupId>
  56. <artifactId>thymeleaf-layout-dialect</artifactId>
  57. <version>2.3.0</version>
  58. </dependency>
  59. <!-- Spring Security -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-security</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.security</groupId>
  66. <artifactId>spring-security-test</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <!-- Swagger2 -->
  70. <dependency>
  71. <groupId>io.springfox</groupId>
  72. <artifactId>springfox-swagger-ui</artifactId>
  73. <version>2.7.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>io.springfox</groupId>
  77. <artifactId>springfox-swagger2</artifactId>
  78. <version>2.7.0</version>
  79. </dependency>
  80. <!-- FastJSON -->
  81. <dependency>
  82. <groupId>com.alibaba</groupId>
  83. <artifactId>fastjson</artifactId>
  84. <version>1.2.38</version>
  85. </dependency>
  86. <!-- OKHTTP -->
  87. <dependency>
  88. <groupId>com.squareup.okhttp3</groupId>
  89. <artifactId>okhttp</artifactId>
  90. <version>3.9.1</version>
  91. </dependency>
  92. <!-- WebSocket -->
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-websocket</artifactId>
  96. <exclusions>
  97. <exclusion>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-tomcat</artifactId>
  100. </exclusion>
  101. </exclusions>
  102. </dependency>
  103. <!-- MQTT -->
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-integration</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.integration</groupId>
  110. <artifactId>spring-integration-stream</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.integration</groupId>
  114. <artifactId>spring-integration-mqtt</artifactId>
  115. </dependency>
  116. <!-- fusesource MQTT -->
  117. <dependency>
  118. <groupId>org.fusesource.mqtt-client</groupId>
  119. <artifactId>mqtt-client</artifactId>
  120. <version>1.14</version>
  121. </dependency>
  122. <!-- 热部署-->
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-devtools</artifactId>
  126. <scope>runtime</scope>
  127. </dependency>
  128. <!-- lombok -->
  129. <dependency>
  130. <groupId>org.projectlombok</groupId>
  131. <artifactId>lombok</artifactId>
  132. <optional>true</optional>
  133. </dependency>
  134. <!-- 腾讯云短信 -->
  135. <dependency>
  136. <groupId>com.github.qcloudsms</groupId>
  137. <artifactId>qcloudsms</artifactId>
  138. <version>1.0.6</version>
  139. </dependency>
  140. </dependencies>
  141. <build>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. </project>