pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. <groupId>com.example</groupId>
  6. <artifactId>getWeather</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>getWeather</name>
  9. <description>getWeather</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.6.13</spring-boot.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.alibaba</groupId>
  19. <artifactId>druid</artifactId>
  20. <version>1.1.14</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>cn.hutool</groupId>
  28. <artifactId>hutool-all</artifactId>
  29. <version>5.8.16</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-test</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.projectlombok</groupId>
  38. <artifactId>lombok</artifactId>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>junit</groupId>
  43. <artifactId>junit</artifactId>
  44. <version>4.12</version>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>mysql</groupId>
  49. <artifactId>mysql-connector-java</artifactId>
  50. <version>8.0.25</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>commons-net</groupId>
  54. <artifactId>commons-net</artifactId>
  55. <version>3.6</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.taosdata.jdbc</groupId>
  59. <artifactId>taos-jdbcdriver</artifactId>
  60. <version>3.2.5</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.ant</groupId>
  64. <artifactId>ant</artifactId>
  65. <version>1.8.1</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.github.junrar</groupId>
  69. <artifactId>junrar</artifactId>
  70. <version>0.7</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.jcraft</groupId>
  74. <artifactId>jsch</artifactId> <!-- 解决 sftp 连接 -->
  75. <version>0.1.55</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.commons</groupId>
  79. <artifactId>commons-compress</artifactId>
  80. <version>1.21</version>
  81. </dependency>
  82. </dependencies>
  83. <dependencyManagement>
  84. <dependencies>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-dependencies</artifactId>
  88. <version>${spring-boot.version}</version>
  89. <type>pom</type>
  90. <scope>import</scope>
  91. </dependency>
  92. </dependencies>
  93. </dependencyManagement>
  94. <build>
  95. <plugins>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-compiler-plugin</artifactId>
  99. <version>3.8.1</version>
  100. <configuration>
  101. <source>8</source>
  102. <target>8</target>
  103. <encoding>UTF-8</encoding>
  104. </configuration>
  105. </plugin>
  106. <!-- 打包过程忽略Junit测试 -->
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-surefire-plugin</artifactId>
  110. <version>2.17</version>
  111. <configuration>
  112. <skip>true</skip>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <version>${spring-boot.version}</version>
  119. <configuration>
  120. <mainClass>com.example.getweather.GetWeatherApplication</mainClass>
  121. <!--<skip>true</skip>-->
  122. </configuration>
  123. <executions>
  124. <execution>
  125. <id>repackage</id>
  126. <goals>
  127. <goal>repackage</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>