pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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.3.4.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.persagy</groupId>
  12. <artifactId>iot-transfer</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>iot-transfer</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <repositories>
  20. <repository>
  21. <id>SagaCloud</id>
  22. <name>SagaCloud</name>
  23. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  24. <snapshots>
  25. <enabled>true</enabled>
  26. </snapshots>
  27. <releases>
  28. <enabled>true</enabled>
  29. </releases>
  30. </repository>
  31. <repository>
  32. <id>alimaven</id>
  33. <name>aliyun maven</name>
  34. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  35. </repository>
  36. <repository>
  37. <id>mvnrepository</id>
  38. <url>https://mvnrepository.com/</url>
  39. </repository>
  40. <repository>
  41. <id>sonatype-nexus-snapshots</id>
  42. <name>Sonatype Nexus Snapshots</name>
  43. <url>http://oss.sonatype.org/content/repositories/snapshots</url>
  44. </repository>
  45. <repository>
  46. <id>spring-milestones</id>
  47. <name>Spring Milestones</name>
  48. <url>https://repo.spring.io/milestone</url>
  49. </repository>
  50. </repositories>
  51. <dependencies>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-actuator</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-web</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.kafka</groupId>
  62. <artifactId>spring-kafka</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-log4j</artifactId>
  67. <version>1.3.8.RELEASE</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.projectlombok</groupId>
  71. <artifactId>lombok</artifactId>
  72. <optional>true</optional>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-test</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>cn.hutool</groupId>
  81. <artifactId>hutool-all</artifactId>
  82. <version>5.7.9</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.alibaba</groupId>
  86. <artifactId>fastjson</artifactId>
  87. <version>1.2.78</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.mina</groupId>
  91. <artifactId>mina-core</artifactId>
  92. <version>2.0.7</version>
  93. </dependency>
  94. <!-- netty -->
  95. <dependency>
  96. <groupId>io.netty</groupId>
  97. <artifactId>netty-all</artifactId>
  98. <version>4.1.62.Final</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>commons-lang</groupId>
  102. <artifactId>commons-lang</artifactId>
  103. <version>2.6</version>
  104. <scope>compile</scope>
  105. </dependency>
  106. <!-- amqp 1.0 qpid client -->
  107. <dependency>
  108. <groupId>org.apache.qpid</groupId>
  109. <artifactId>qpid-jms-client</artifactId>
  110. <version>0.56.0</version>
  111. </dependency>
  112. <!--alibaba http2 -->
  113. <dependency>
  114. <groupId>com.aliyun.openservices</groupId>
  115. <artifactId>iot-client-message</artifactId>
  116. <version>1.1.3</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.aliyun</groupId>
  120. <artifactId>aliyun-java-sdk-core</artifactId>
  121. <version>3.7.1</version>
  122. </dependency>
  123. </dependencies>
  124. <build>
  125. <finalName>${project.artifactId}</finalName>
  126. <plugins>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-compiler-plugin</artifactId>
  130. <version>3.8.1</version>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-maven-plugin</artifactId>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-surefire-plugin</artifactId>
  139. <version>3.0.0-M5</version>
  140. <configuration>
  141. <testFailureIgnore>true</testFailureIgnore>
  142. </configuration>
  143. </plugin>
  144. <!--拷贝资源文件 copy-resources-->
  145. <plugin>
  146. <artifactId>maven-resources-plugin</artifactId>
  147. <executions>
  148. <execution>
  149. <id>copy-resources</id>
  150. <phase>package</phase>
  151. <goals>
  152. <goal>copy-resources</goal>
  153. </goals>
  154. <configuration>
  155. <resources>
  156. <resource>
  157. <directory>src/main/resources/</directory>
  158. <includes>
  159. <include>*.jks</include>
  160. </includes>
  161. </resource>
  162. </resources>
  163. <outputDirectory>${project.build.directory}/config</outputDirectory>
  164. </configuration>
  165. </execution>
  166. <!--拷贝启动脚本-->
  167. <execution>
  168. <id>copy-version</id>
  169. <phase>package</phase>
  170. <goals>
  171. <goal>copy-resources</goal>
  172. </goals>
  173. <configuration>
  174. <resources>
  175. <resource>
  176. <directory>src/script</directory>
  177. </resource>
  178. </resources>
  179. <outputDirectory>${project.build.directory}</outputDirectory>
  180. </configuration>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. <distributionManagement>
  187. <repository>
  188. <id>SagaCloudRelease</id>
  189. <name>User Project Release</name>
  190. <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
  191. </repository>
  192. <snapshotRepository>
  193. <id>SagaCloudRelease</id>
  194. <name>User Project SNAPSHOTS</name>
  195. <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
  196. </snapshotRepository>
  197. </distributionManagement>
  198. </project>