Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

177 Zeilen
6.1KB

  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.telpo</groupId>
  7. <artifactId>iotgatewayservice</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>iot-gateway-server</name>
  10. <description>IOT测试服务</description>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  17. <spring-cloud-alibaba.version>2.2.0.RELEASE</spring-cloud-alibaba.version>
  18. <spring-cloud.version>Hoxton.RELEASE</spring-cloud.version>
  19. <skipTests>true</skipTests>
  20. </properties>
  21. <parent>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-parent</artifactId>
  24. <version>2.2.5.RELEASE</version>
  25. </parent>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-devtools</artifactId>
  30. <scope>runtime</scope>
  31. <optional>true</optional>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <optional>true</optional>
  37. </dependency>
  38. <!-- springcloud alibaba依赖包-->
  39. <dependency>
  40. <groupId>com.alibaba.cloud</groupId>
  41. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.alibaba.cloud</groupId>
  45. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba.boot</groupId>
  49. <artifactId>nacos-config-spring-boot-starter</artifactId>
  50. <version>0.2.7</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.alibaba.nacos</groupId>
  54. <artifactId>nacos-client</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-webflux</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-web</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-configuration-processor</artifactId>
  67. <optional>true</optional>
  68. </dependency>
  69. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  70. <dependency>
  71. <groupId>org.apache.commons</groupId>
  72. <artifactId>commons-lang3</artifactId>
  73. <version>3.10</version>
  74. </dependency>
  75. <!-- 开启redis缓存 -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-data-redis</artifactId>
  79. </dependency>
  80. <!-- redis依赖commons-pool 这个依赖一定要添加 -->
  81. <dependency>
  82. <groupId>org.apache.commons</groupId>
  83. <artifactId>commons-pool2</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>io.springfox</groupId>
  87. <artifactId>springfox-swagger2</artifactId>
  88. <version>2.9.2</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>io.springfox</groupId>
  92. <artifactId>springfox-swagger-ui</artifactId>
  93. <version>2.9.2</version>
  94. </dependency>
  95. <!-- amqp 1.0 qpid client -->
  96. <dependency>
  97. <groupId>org.apache.qpid</groupId>
  98. <artifactId>qpid-jms-client</artifactId>
  99. <version>0.47.0</version>
  100. </dependency>
  101. <!-- util for base64-->
  102. <dependency>
  103. <groupId>commons-codec</groupId>
  104. <artifactId>commons-codec</artifactId>
  105. <version>1.10</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.aliyun</groupId>
  109. <artifactId>aliyun-java-sdk-core</artifactId>
  110. <version>4.5.3</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>cn.hutool</groupId>
  114. <artifactId>hutool-all</artifactId>
  115. <version>5.3.4</version>
  116. </dependency>
  117. </dependencies>
  118. <dependencyManagement>
  119. <dependencies>
  120. <dependency>
  121. <groupId>org.springframework.cloud</groupId>
  122. <artifactId>spring-cloud-dependencies</artifactId>
  123. <version>${spring-cloud.version}</version>
  124. <type>pom</type>
  125. <scope>import</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.alibaba.cloud</groupId>
  129. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  130. <version>${spring-cloud-alibaba.version}</version>
  131. <type>pom</type>
  132. <scope>import</scope>
  133. </dependency>
  134. </dependencies>
  135. </dependencyManagement>
  136. <build>
  137. <finalName>${project.artifactId}</finalName>
  138. <plugins>
  139. <plugin>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-maven-plugin</artifactId>
  142. <configuration>
  143. <!--fork : 使用 devtools生效-->
  144. <fork>true</fork>
  145. </configuration>
  146. <executions>
  147. <execution>
  148. <goals>
  149. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  150. </goals>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. </project>