pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.2.8.RELEASE</version>
  10. <relativePath/>
  11. </parent>
  12. <artifactId>collect-weather</artifactId>
  13. <groupId>com.huashe.common</groupId>
  14. <version>1.0.0-SNAPSHOT</version>
  15. <description>实时天气属性采集</description>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. <maven.compiler.source>${java.version}</maven.compiler.source>
  21. <maven.compiler.target>${java.version}</maven.compiler.target>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-test</artifactId>
  31. <scope>test</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-configuration-processor</artifactId>
  40. <optional>true</optional>
  41. </dependency>
  42. <!-- mysql驱动 -->
  43. <dependency>
  44. <groupId>org.mariadb.jdbc</groupId>
  45. <artifactId>mariadb-java-client</artifactId>
  46. <version>2.2.6</version>
  47. </dependency>
  48. <!-- Druid 数据库连接池依赖 -->
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>druid</artifactId>
  52. <version>1.1.19</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba</groupId>
  56. <artifactId>druid-spring-boot-starter</artifactId>
  57. <version>1.1.10</version>
  58. </dependency>
  59. <!-- Mybatis -->
  60. <dependency>
  61. <groupId>org.mybatis.spring.boot</groupId>
  62. <artifactId>mybatis-spring-boot-starter</artifactId>
  63. <version>1.1.1</version>
  64. </dependency>
  65. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  66. <dependency>
  67. <groupId>com.alibaba</groupId>
  68. <artifactId>fastjson</artifactId>
  69. <version>1.2.83</version>
  70. </dependency>
  71. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  72. <dependency>
  73. <groupId>org.apache.commons</groupId>
  74. <artifactId>commons-lang3</artifactId>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 -->
  77. <dependency>
  78. <groupId>org.apache.commons</groupId>
  79. <artifactId>commons-collections4</artifactId>
  80. <version>4.2</version>
  81. </dependency>
  82. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  83. <dependency>
  84. <groupId>commons-io</groupId>
  85. <artifactId>commons-io</artifactId>
  86. <version>2.6</version>
  87. </dependency>
  88. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  89. <dependency>
  90. <groupId>org.apache.httpcomponents</groupId>
  91. <artifactId>httpclient</artifactId>
  92. <version>4.5.12</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>junit</groupId>
  96. <artifactId>junit</artifactId>
  97. <version>4.12</version>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.huashe.common</groupId>
  102. <artifactId>prod-commons</artifactId>
  103. <version>1.0-SNAPSHOT</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>io.springfox</groupId>
  107. <artifactId>springfox-boot-starter</artifactId>
  108. <version>3.0.0</version>
  109. </dependency>
  110. </dependencies>
  111. <build>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-compiler-plugin</artifactId>
  116. <version>3.8.0</version>
  117. <configuration>
  118. <source>${maven.compiler.source}</source>
  119. <target>${maven.compiler.target}</target>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-maven-plugin</artifactId>
  125. <executions>
  126. <execution>
  127. <goals>
  128. <goal>repackage</goal>
  129. </goals>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-surefire-plugin</artifactId>
  136. <version>2.22.2</version>
  137. <configuration>
  138. <skipTests>true</skipTests>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>