pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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.0.6.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.inspur</groupId>
  12. <artifactId>elevator-data-collect</artifactId>
  13. <version>1.0.4</version>
  14. <name>elevator-data-collect</name>
  15. <description>实时数据中加入当前系统时间戳</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <mysql-driver-version>5.1.48</mysql-driver-version>
  19. <mybatis-generator.version>1.3.6</mybatis-generator.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-test</artifactId>
  29. <scope>test</scope>
  30. </dependency>
  31. <!-- MQTT -->
  32. <dependency>
  33. <groupId>org.springframework.integration</groupId>
  34. <artifactId>spring-integration-mqtt</artifactId>
  35. </dependency>
  36. <!-- 数据库操作相关依赖 -->
  37. <dependency>
  38. <groupId>org.mybatis.spring.boot</groupId>
  39. <artifactId>mybatis-spring-boot-starter</artifactId>
  40. <version>2.0.0</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>druid-spring-boot-starter</artifactId>
  45. <version>1.1.13</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>mysql</groupId>
  49. <artifactId>mysql-connector-java</artifactId>
  50. <version>${mysql-driver-version}</version>
  51. </dependency>
  52. <!--lombok-->
  53. <dependency>
  54. <groupId>org.projectlombok</groupId>
  55. <artifactId>lombok</artifactId>
  56. <optional>true</optional>
  57. </dependency>
  58. <!--json相关-->
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>fastjson</artifactId>
  62. <version>1.2.54</version>
  63. </dependency>
  64. <!--mongodb-->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-data-redis</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.commons</groupId>
  75. <artifactId>commons-pool2</artifactId>
  76. <version>2.6.2</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>redis.clients</groupId>
  80. <artifactId>jedis</artifactId>
  81. </dependency>
  82. <!--自定义properties-->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-configuration-processor</artifactId>
  86. <optional>true</optional>
  87. </dependency>
  88. <!--配置加密-->
  89. <dependency>
  90. <groupId>com.github.ulisesbocchio</groupId>
  91. <artifactId>jasypt-spring-boot-starter</artifactId>
  92. <version>3.0.3</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.alibaba.cloud</groupId>
  96. <artifactId>spring-cloud-starter-dubbo</artifactId>
  97. <version>2.0.1.RELEASE</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.alibaba.cloud</groupId>
  101. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  102. <version>2.0.1.RELEASE</version>
  103. </dependency>
  104. <!--配置中心-->
  105. <dependency>
  106. <groupId>com.alibaba.cloud</groupId>
  107. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  108. <version>2.0.1.RELEASE</version>
  109. </dependency>
  110. <!--工具包-->
  111. <dependency>
  112. <groupId>cn.hutool</groupId>
  113. <artifactId>hutool-all</artifactId>
  114. <version>5.8.20</version>
  115. </dependency>
  116. <!-- <dependency>-->
  117. <!-- <groupId>org.springframework.cloud</groupId>-->
  118. <!-- <artifactId>spring-cloud-starter-bootstrap</artifactId>-->
  119. <!-- <version>3.1.0</version>-->
  120. <!-- </dependency>-->
  121. </dependencies>
  122. <dependencyManagement>
  123. <dependencies>
  124. <dependency>
  125. <groupId>org.springframework.cloud</groupId>
  126. <artifactId>spring-cloud-dependencies</artifactId>
  127. <version>Finchley.SR2</version>
  128. <type>pom</type>
  129. <scope>import</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.alibaba.cloud</groupId>
  133. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  134. <version>2.0.1.RELEASE</version>
  135. <type>pom</type>
  136. <scope>import</scope>
  137. </dependency>
  138. </dependencies>
  139. </dependencyManagement>
  140. <build>
  141. <plugins>
  142. <plugin>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-maven-plugin</artifactId>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.mybatis.generator</groupId>
  148. <artifactId>mybatis-generator-maven-plugin</artifactId>
  149. <version>${mybatis-generator.version}</version>
  150. <configuration>
  151. <verbose>true</verbose>
  152. <overwrite>true</overwrite>
  153. </configuration>
  154. <dependencies>
  155. <dependency>
  156. <groupId>org.mybatis.generator</groupId>
  157. <artifactId>mybatis-generator-core</artifactId>
  158. <version>${mybatis-generator.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>mysql</groupId>
  162. <artifactId>mysql-connector-java</artifactId>
  163. <version>${mysql-driver-version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.inspur.idm.plantform</groupId>
  167. <artifactId>code-gen-plugin</artifactId>
  168. <version>1.1.2</version>
  169. </dependency>
  170. </dependencies>
  171. </plugin>
  172. <plugin>
  173. <groupId>com.inspur.idm.plantform</groupId>
  174. <artifactId>codegen-maven-plugin</artifactId>
  175. <version>1.1.2</version>
  176. <dependencies>
  177. <dependency>
  178. <groupId>mysql</groupId>
  179. <artifactId>mysql-connector-java</artifactId>
  180. <version>${mysql-driver-version}</version>
  181. </dependency>
  182. </dependencies>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>