You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

183 satır
6.3KB

  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>数据推送服务</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. <!--天波通用包-->
  39. <dependency>
  40. <groupId>com.telpo</groupId>
  41. <artifactId>common</artifactId>
  42. <version>1.1.19</version>
  43. </dependency>
  44. <!-- springcloud alibaba依赖包-->
  45. <dependency>
  46. <groupId>com.alibaba.cloud</groupId>
  47. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba.cloud</groupId>
  51. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.alibaba.boot</groupId>
  55. <artifactId>nacos-config-spring-boot-starter</artifactId>
  56. <version>0.2.7</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.alibaba.nacos</groupId>
  60. <artifactId>nacos-client</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-webflux</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-web</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-configuration-processor</artifactId>
  73. <optional>true</optional>
  74. </dependency>
  75. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-lang3</artifactId>
  79. <version>3.10</version>
  80. </dependency>
  81. <!-- 开启redis缓存 -->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-data-redis</artifactId>
  85. </dependency>
  86. <!-- redis依赖commons-pool 这个依赖一定要添加 -->
  87. <dependency>
  88. <groupId>org.apache.commons</groupId>
  89. <artifactId>commons-pool2</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.springfox</groupId>
  93. <artifactId>springfox-swagger2</artifactId>
  94. <version>2.9.2</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.springfox</groupId>
  98. <artifactId>springfox-swagger-ui</artifactId>
  99. <version>2.9.2</version>
  100. </dependency>
  101. <!-- amqp 1.0 qpid client -->
  102. <dependency>
  103. <groupId>org.apache.qpid</groupId>
  104. <artifactId>qpid-jms-client</artifactId>
  105. <version>0.47.0</version>
  106. </dependency>
  107. <!-- util for base64-->
  108. <dependency>
  109. <groupId>commons-codec</groupId>
  110. <artifactId>commons-codec</artifactId>
  111. <version>1.10</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.aliyun</groupId>
  115. <artifactId>aliyun-java-sdk-core</artifactId>
  116. <version>4.5.3</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>cn.hutool</groupId>
  120. <artifactId>hutool-all</artifactId>
  121. <version>5.3.4</version>
  122. </dependency>
  123. </dependencies>
  124. <dependencyManagement>
  125. <dependencies>
  126. <dependency>
  127. <groupId>org.springframework.cloud</groupId>
  128. <artifactId>spring-cloud-dependencies</artifactId>
  129. <version>${spring-cloud.version}</version>
  130. <type>pom</type>
  131. <scope>import</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.alibaba.cloud</groupId>
  135. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  136. <version>${spring-cloud-alibaba.version}</version>
  137. <type>pom</type>
  138. <scope>import</scope>
  139. </dependency>
  140. </dependencies>
  141. </dependencyManagement>
  142. <build>
  143. <finalName>${project.artifactId}</finalName>
  144. <plugins>
  145. <plugin>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-maven-plugin</artifactId>
  148. <configuration>
  149. <!--fork : 使用 devtools生效-->
  150. <fork>true</fork>
  151. </configuration>
  152. <executions>
  153. <execution>
  154. <goals>
  155. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  156. </goals>
  157. </execution>
  158. </executions>
  159. </plugin>
  160. </plugins>
  161. </build>
  162. </project>