Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

184 linhas
6.2KB

  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. <!-- amqp 1.0 qpid client -->
  45. <dependency>
  46. <groupId>org.apache.qpid</groupId>
  47. <artifactId>qpid-jms-client</artifactId>
  48. <version>0.47.0</version>
  49. </dependency>
  50. <!-- util for base64-->
  51. <dependency>
  52. <groupId>commons-codec</groupId>
  53. <artifactId>commons-codec</artifactId>
  54. <version>1.10</version>
  55. </dependency>
  56. <!-- springcloud alibaba依赖包-->
  57. <dependency>
  58. <groupId>com.alibaba.cloud</groupId>
  59. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba.cloud</groupId>
  63. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  64. </dependency>
  65. <!-- springcloud 依赖包-->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-web</artifactId>
  69. </dependency>
  70. <!--MySQL 连接驱动依赖-->
  71. <dependency>
  72. <groupId>mysql</groupId>
  73. <artifactId>mysql-connector-java</artifactId>
  74. <scope>runtime</scope>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter -->
  77. <dependency>
  78. <groupId>org.mybatis.spring.boot</groupId>
  79. <artifactId>mybatis-spring-boot-starter</artifactId>
  80. <version>2.1.2</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-test</artifactId>
  85. <scope>test</scope>
  86. <exclusions>
  87. <exclusion>
  88. <groupId>org.junit.vintage</groupId>
  89. <artifactId>junit-vintage-engine</artifactId>
  90. </exclusion>
  91. </exclusions>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-configuration-processor</artifactId>
  96. <optional>true</optional>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  99. <dependency>
  100. <groupId>org.apache.commons</groupId>
  101. <artifactId>commons-lang3</artifactId>
  102. <version>3.10</version>
  103. </dependency>
  104. <!-- AOP-->
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-aop</artifactId>
  108. </dependency>
  109. <!-- LocalDateTime 序列化-->
  110. <dependency>
  111. <groupId>com.fasterxml.jackson.datatype</groupId>
  112. <artifactId>jackson-datatype-jsr310</artifactId>
  113. </dependency>
  114. <!-- https://mvnrepository.com/artifact/de.codecentric/spring-boot-admin-starter-client -->
  115. <dependency>
  116. <groupId>de.codecentric</groupId>
  117. <artifactId>spring-boot-admin-starter-client</artifactId>
  118. <version>2.2.4</version>
  119. </dependency>
  120. </dependencies>
  121. <dependencyManagement>
  122. <dependencies>
  123. <dependency>
  124. <groupId>org.springframework.cloud</groupId>
  125. <artifactId>spring-cloud-dependencies</artifactId>
  126. <version>${spring-cloud.version}</version>
  127. <type>pom</type>
  128. <scope>import</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.alibaba.cloud</groupId>
  132. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  133. <version>${spring-cloud-alibaba.version}</version>
  134. <type>pom</type>
  135. <scope>import</scope>
  136. </dependency>
  137. </dependencies>
  138. </dependencyManagement>
  139. <build>
  140. <finalName>${project.artifactId}</finalName>
  141. <plugins>
  142. <plugin>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-maven-plugin</artifactId>
  145. <configuration>
  146. <!--fork : 使用 devtools生效-->
  147. <fork>true</fork>
  148. </configuration>
  149. <executions>
  150. <execution>
  151. <goals>
  152. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  153. </goals>
  154. </execution>
  155. </executions>
  156. </plugin>
  157. </plugins>
  158. </build>
  159. </project>