pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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. <properties>
  7. <revision>0.0.1-SNAPSHOT</revision>
  8. <forecast.version>${revision}</forecast.version>
  9. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  10. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  11. <java.version>21</java.version>
  12. <spring-boot.version>3.4.7</spring-boot.version>
  13. <druid.version>1.2.23</druid.version>
  14. <bitwalker.version>1.21</bitwalker.version>
  15. <swagger.version>3.0.0</swagger.version>
  16. <kaptcha.version>2.3.3</kaptcha.version>
  17. <pagehelper.boot.version>1.4.7</pagehelper.boot.version>
  18. <fastjson.version>2.0.57</fastjson.version>
  19. <oshi.version>6.8.2</oshi.version>
  20. <commons.io.version>2.19.0</commons.io.version>
  21. <poi.version>4.1.2</poi.version>
  22. <velocity.version>2.3</velocity.version>
  23. </properties>
  24. <name>forecast</name>
  25. <url>http://www.oleauto.cn/</url>
  26. <description>光伏功率预测系统</description>
  27. <groupId>cn.oleauto</groupId>
  28. <artifactId>forecast</artifactId>
  29. <version>${revision}</version>
  30. <!-- 依赖声明 -->
  31. <dependencyManagement>
  32. <dependencies>
  33. <dependency>
  34. <groupId>jakarta.xml.bind</groupId>
  35. <artifactId>jakarta.xml.bind-api</artifactId>
  36. <version>4.0.2</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>jakarta.servlet</groupId>
  40. <artifactId>jakarta.servlet-api</artifactId>
  41. <version>6.1.0</version>
  42. <scope>provided</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-dependencies</artifactId>
  47. <version>${spring-boot.version}</version>
  48. <type>pom</type>
  49. <scope>import</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.iotdb</groupId>
  53. <artifactId>iotdb-session</artifactId>
  54. <version>1.3.1</version>
  55. </dependency>
  56. <!-- <dependency>-->
  57. <!-- <groupId>com.mysql</groupId>-->
  58. <!-- <artifactId>mysql-connector-j</artifactId>-->
  59. <!-- <version>9.3.0</version>-->
  60. <!-- </dependency>-->
  61. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-spring-boot3-starter -->
  62. <dependency>
  63. <groupId>com.baomidou</groupId>
  64. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  65. <version>3.5.9</version>
  66. </dependency>
  67. <!-- 阿里数据库连接池 -->
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>druid-spring-boot-starter</artifactId>
  71. <version>${druid.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>cn.hutool</groupId>
  75. <artifactId>hutool-all</artifactId>
  76. <version>5.8.39</version>
  77. </dependency>
  78. <!-- 解析客户端操作系统、浏览器等 -->
  79. <dependency>
  80. <groupId>eu.bitwalker</groupId>
  81. <artifactId>UserAgentUtils</artifactId>
  82. <version>${bitwalker.version}</version>
  83. </dependency>
  84. <!-- pagehelper 分页插件 -->
  85. <dependency>
  86. <groupId>com.github.pagehelper</groupId>
  87. <artifactId>pagehelper-spring-boot-starter</artifactId>
  88. <version>${pagehelper.boot.version}</version>
  89. </dependency>
  90. <!-- 获取系统信息 -->
  91. <dependency>
  92. <groupId>com.github.oshi</groupId>
  93. <artifactId>oshi-core</artifactId>
  94. <version>${oshi.version}</version>
  95. </dependency>
  96. <!-- Swagger3依赖 -->
  97. <dependency>
  98. <groupId>org.springdoc</groupId>
  99. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  100. <version>2.8.8</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springdoc</groupId>
  104. <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  105. <version>2.8.8</version>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/com.lmax/disruptor -->
  108. <dependency>
  109. <groupId>com.lmax</groupId>
  110. <artifactId>disruptor</artifactId>
  111. <version>4.0.0</version>
  112. </dependency>
  113. <!-- io常用工具类 -->
  114. <dependency>
  115. <groupId>commons-io</groupId>
  116. <artifactId>commons-io</artifactId>
  117. <version>${commons.io.version}</version>
  118. </dependency>
  119. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5 -->
  120. <dependency>
  121. <groupId>org.apache.httpcomponents.client5</groupId>
  122. <artifactId>httpclient5</artifactId>
  123. <version>5.5</version>
  124. </dependency>
  125. <!-- excel工具 -->
  126. <dependency>
  127. <groupId>org.apache.poi</groupId>
  128. <artifactId>poi-ooxml</artifactId>
  129. <version>${poi.version}</version>
  130. </dependency>
  131. <!-- velocity代码生成使用模板 -->
  132. <dependency>
  133. <groupId>org.apache.velocity</groupId>
  134. <artifactId>velocity-engine-core</artifactId>
  135. <version>${velocity.version}</version>
  136. </dependency>
  137. <!-- 阿里JSON解析器 -->
  138. <dependency>
  139. <groupId>com.alibaba.fastjson2</groupId>
  140. <artifactId>fastjson2</artifactId>
  141. <version>${fastjson.version}</version>
  142. </dependency>
  143. <!-- Token生成与解析-->
  144. <dependency>
  145. <groupId>io.jsonwebtoken</groupId>
  146. <artifactId>jjwt</artifactId>
  147. <version>0.12.6</version>
  148. </dependency>
  149. <!-- 验证码 -->
  150. <dependency>
  151. <groupId>pro.fessional</groupId>
  152. <artifactId>kaptcha</artifactId>
  153. <version>${kaptcha.version}</version>
  154. </dependency>
  155. </dependencies>
  156. </dependencyManagement>
  157. <modules>
  158. <module>gateway</module>
  159. </modules>
  160. <packaging>pom</packaging>
  161. <build>
  162. <plugins>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-compiler-plugin</artifactId>
  166. <version>3.1</version>
  167. <configuration>
  168. <source>${java.version}</source>
  169. <target>${java.version}</target>
  170. <encoding>${project.build.sourceEncoding}</encoding>
  171. <compilerArgs>
  172. <arg>-parameters</arg>
  173. </compilerArgs>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.codehaus.mojo</groupId>
  178. <artifactId>flatten-maven-plugin</artifactId>
  179. <version>1.5.0</version>
  180. <configuration>
  181. <updatePomFile>true</updatePomFile>
  182. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  183. </configuration>
  184. <executions>
  185. <execution>
  186. <id>flatten</id>
  187. <phase>process-resources</phase>
  188. <goals>
  189. <goal>flatten</goal>
  190. </goals>
  191. </execution>
  192. <execution>
  193. <id>flatten.clean</id>
  194. <phase>clean</phase>
  195. <goals>
  196. <goal>clean</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. </plugins>
  202. </build>
  203. <pluginRepositories>
  204. <pluginRepository>
  205. <id>public</id>
  206. <name>aliyun nexus</name>
  207. <url>https://maven.aliyun.com/repository/public</url>
  208. <releases>
  209. <enabled>true</enabled>
  210. </releases>
  211. <snapshots>
  212. <enabled>false</enabled>
  213. </snapshots>
  214. </pluginRepository>
  215. </pluginRepositories>
  216. </project>