Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pom.xml 6.1KB

il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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>