pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>iot</artifactId>
  7. <groupId>com.iot</groupId>
  8. <version>3.2.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>iot-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.apache.httpcomponents</groupId>
  19. <artifactId>httpclient</artifactId>
  20. </dependency>
  21. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  22. <dependency>
  23. <groupId>com.google.code.gson</groupId>
  24. <artifactId>gson</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.apache.httpcomponents</groupId>
  28. <artifactId>httpclient</artifactId>
  29. <version>4.5.5</version>
  30. </dependency>
  31. <!-- spring-boot-devtools -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-devtools</artifactId>
  35. <optional>true</optional> <!-- 表示依赖不会传递 -->
  36. </dependency>
  37. <!-- swagger2-->
  38. <dependency>
  39. <groupId>io.springfox</groupId>
  40. <artifactId>springfox-swagger2</artifactId>
  41. </dependency>
  42. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  43. <dependency>
  44. <groupId>io.swagger</groupId>
  45. <artifactId>swagger-annotations</artifactId>
  46. <version>1.5.21</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.baomidou</groupId>
  50. <artifactId>mybatis-plus-boot-starter</artifactId>
  51. <version>3.4.1</version>
  52. </dependency>
  53. <!--引入 lombok 依赖(减少 getter、setter 等方法)-->
  54. <dependency>
  55. <groupId>org.projectlombok</groupId>
  56. <artifactId>lombok</artifactId>
  57. <version>1.18.10</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>io.swagger</groupId>
  61. <artifactId>swagger-models</artifactId>
  62. <version>1.5.21</version>
  63. </dependency>
  64. <!-- swagger2-UI-->
  65. <dependency>
  66. <groupId>io.springfox</groupId>
  67. <artifactId>springfox-swagger-ui</artifactId>
  68. </dependency>
  69. <!-- Mysql驱动包 -->
  70. <dependency>
  71. <groupId>mysql</groupId>
  72. <artifactId>mysql-connector-java</artifactId>
  73. </dependency>
  74. <!-- 火烈鸟驱动包 -->
  75. <dependency>
  76. <groupId>org.firebirdsql.jdbc</groupId>
  77. <artifactId>jaybird</artifactId>
  78. <version>4.0.0.java8</version>
  79. </dependency>
  80. <!-- 核心模块-->
  81. <dependency>
  82. <groupId>com.iot</groupId>
  83. <artifactId>iot-framework</artifactId>
  84. </dependency>
  85. <!-- 定时任务-->
  86. <dependency>
  87. <groupId>com.iot</groupId>
  88. <artifactId>iot-quartz</artifactId>
  89. </dependency>
  90. <!-- 代码生成-->
  91. <dependency>
  92. <groupId>com.iot</groupId>
  93. <artifactId>iot-generator</artifactId>
  94. </dependency>
  95. <!--解析Xml 文件-->
  96. <dependency>
  97. <groupId>dom4j</groupId>
  98. <artifactId>dom4j</artifactId>
  99. </dependency>
  100. <!--请求接口-->
  101. <dependency>
  102. <groupId>com.squareup.okhttp3</groupId>
  103. <artifactId>okhttp</artifactId>
  104. <version>3.11.0</version>
  105. </dependency>
  106. </dependencies>
  107. <build>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-maven-plugin</artifactId>
  112. <version>2.1.1.RELEASE</version>
  113. <configuration>
  114. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  115. </configuration>
  116. <executions>
  117. <execution>
  118. <goals>
  119. <goal>repackage</goal>
  120. </goals>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-war-plugin</artifactId>
  127. <version>3.1.0</version>
  128. <configuration>
  129. <failOnMissingWebXml>false</failOnMissingWebXml>
  130. <warName>${project.artifactId}</warName>
  131. </configuration>
  132. </plugin>
  133. </plugins>
  134. <finalName>${project.artifactId}</finalName>
  135. </build>
  136. </project>