pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  5. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.3.2.RELEASE</version>
  11. <relativePath/> <!-- lookup parent from repository -->
  12. </parent>
  13. <groupId>com.example</groupId>
  14. <artifactId>demo</artifactId>
  15. <version>0.0.1-SNAPSHOT</version>
  16. <name>demo</name>
  17. <description>Demo project for Spring Boot</description>
  18. <!-- 配置全局的属性 -->
  19. <properties>
  20. <java.version>11</java.version>
  21. <mybatis.version>2.1.0</mybatis.version>
  22. <mysql.version>5.1.47</mysql.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-security</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-jpa</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-integration</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.integration</groupId>
  43. <artifactId>spring-integration-stream</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.integration</groupId>
  47. <artifactId>spring-integration-mqtt</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.mariadb.jdbc</groupId>
  51. <artifactId>mariadb-java-client</artifactId>
  52. <scope>runtime</scope>
  53. </dependency>
  54. <!-- <dependency>
  55. <groupId>mysql</groupId>
  56. <artifactId>mysql-connector-java</artifactId>
  57. <scope>runtime</scope>
  58. </dependency>-->
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.security</groupId>
  66. <artifactId>spring-security-test</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>io.springfox</groupId>
  71. <artifactId>springfox-swagger2</artifactId>
  72. <version>2.9.2</version>
  73. </dependency>
  74. <!-- <dependency>
  75. <groupId>io.springfox</groupId>
  76. <artifactId>springfox-swagger-ui</artifactId>
  77. <version>3.0.0</version>
  78. </dependency> -->
  79. <dependency>
  80. <groupId>io.jsonwebtoken</groupId>
  81. <artifactId>jjwt</artifactId>
  82. <version>0.9.1</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.github.apiggs</groupId>
  86. <artifactId>apiggs-maven-plugin</artifactId>
  87. <version>1.6</version>
  88. <type>pom</type>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>QLExpress</artifactId>
  93. <version>3.2.7</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.eclipse.paho</groupId>
  97. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  98. <version>1.2.4</version>
  99. </dependency>
  100. </dependencies>
  101. <build>
  102. <plugins>
  103. <!-- maven 打包时跳过测试 -->
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-surefire-plugin</artifactId>
  107. <configuration>
  108. <skip>true</skip>
  109. </configuration>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-maven-plugin</artifactId>
  114. </plugin>
  115. <plugin>
  116. <groupId>com.github.apiggs</groupId>
  117. <artifactId>apiggs-maven-plugin</artifactId>
  118. <version>1.6</version>
  119. <executions>
  120. <execution>
  121. <phase>compile</phase>
  122. <goals>
  123. <goal>apiggs</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. <configuration>
  128. <!-- options in there -->
  129. <id>index</id>
  130. <title>起重机智能运维系统API文档</title>
  131. <production>order</production>
  132. <out>target/docs</out>
  133. <dependency>../http-service/src/main/java</dependency>
  134. <version>1.0.0</version>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. <repositories>
  140. <repository>
  141. <id>central</id>
  142. <name>aliyun maven</name>
  143. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  144. <layout>default</layout>
  145. <!-- 是否开启发布版构件下载 -->
  146. <releases>
  147. <enabled>true</enabled>
  148. </releases>
  149. <!-- 是否开启快照版构件下载 -->
  150. <snapshots>
  151. <enabled>false</enabled>
  152. </snapshots>
  153. </repository>
  154. </repositories>
  155. <!-- &lt;!&ndash; 配置依赖关系 &ndash;&gt;-->
  156. <!-- <dependencies>-->
  157. <!-- &lt;!&ndash; web启动器 &ndash;&gt;-->
  158. <!-- <dependency>-->
  159. <!-- <groupId>org.springframework.boot</groupId>-->
  160. <!-- <artifactId>spring-boot-starter-web</artifactId>-->
  161. <!-- </dependency>-->
  162. <!-- &lt;!&ndash; mybatis启动器 &ndash;&gt;-->
  163. <!-- <dependency>-->
  164. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  165. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  166. <!-- <version>${mybatis.version}</version>-->
  167. <!-- </dependency>-->
  168. <!-- &lt;!&ndash; mysql驱动 &ndash;&gt;-->
  169. <!-- <dependency>-->
  170. <!-- <groupId>mysql</groupId>-->
  171. <!-- <artifactId>mysql-connector-java</artifactId>-->
  172. <!-- </dependency>-->
  173. <!-- &lt;!&ndash; lombok &ndash;&gt;-->
  174. <!-- <dependency>-->
  175. <!-- <groupId>org.projectlombok</groupId>-->
  176. <!-- <artifactId>lombok</artifactId>-->
  177. <!-- </dependency>-->
  178. <!-- </dependencies>-->
  179. <!-- <build>-->
  180. <!-- <plugins>-->
  181. <!-- &lt;!&ndash; 配置SpringBoot的maven插件 &ndash;&gt;-->
  182. <!-- <plugin>-->
  183. <!-- <groupId>org.springframework.boot</groupId>-->
  184. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  185. <!-- </plugin>-->
  186. <!-- </plugins>-->
  187. <!-- </build>-->
  188. </project>