pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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.tokheim</groupId>
  6. <artifactId>ai-fueling</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>ai-fueling</name>
  9. <description>ai-fueling</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>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <!--http 客户端-->
  22. <dependency>
  23. <groupId>org.apache.httpcomponents</groupId>
  24. <artifactId>httpclient</artifactId>
  25. </dependency>
  26. <!-- Spring Boot Starter Data JPA -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-data-jpa</artifactId>
  30. </dependency>
  31. <!-- MariaDB Driver -->
  32. <dependency>
  33. <groupId>org.mariadb.jdbc</groupId>
  34. <artifactId>mariadb-java-client</artifactId>
  35. <version>3.0.4</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>io.netty</groupId>
  44. <artifactId>netty-all</artifactId>
  45. <version>4.1.69.Final</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.projectlombok</groupId>
  49. <artifactId>lombok</artifactId>
  50. <optional>true</optional>
  51. </dependency>
  52. <!-- 工具类 -->
  53. <dependency>
  54. <groupId>cn.hutool</groupId>
  55. <artifactId>hutool-all</artifactId>
  56. <version>5.3.6</version>
  57. </dependency>
  58. <!-- SM4相关-->
  59. <dependency>
  60. <groupId>org.bouncycastle</groupId>
  61. <artifactId>bcprov-jdk15on</artifactId>
  62. <version>1.70</version> <!-- 请检查最新版本 -->
  63. </dependency>
  64. <!--接口文档swagger-->
  65. <dependency>
  66. <groupId>io.springfox</groupId>
  67. <artifactId>springfox-swagger2</artifactId>
  68. <version>2.9.2</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.springfox</groupId>
  72. <artifactId>springfox-swagger-ui</artifactId>
  73. <version>2.9.2</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.google.code.gson</groupId>
  77. <artifactId>gson</artifactId>
  78. <version>2.8.9</version> <!-- 请检查是否有更新的版本 -->
  79. </dependency>
  80. </dependencies>
  81. <dependencyManagement>
  82. <dependencies>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-dependencies</artifactId>
  86. <version>${spring-boot.version}</version>
  87. <type>pom</type>
  88. <scope>import</scope>
  89. </dependency>
  90. </dependencies>
  91. </dependencyManagement>
  92. <build>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-compiler-plugin</artifactId>
  97. <version>3.8.1</version>
  98. <configuration>
  99. <source>1.8</source>
  100. <target>1.8</target>
  101. <encoding>UTF-8</encoding>
  102. </configuration>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. <version>${spring-boot.version}</version>
  108. <configuration>
  109. <mainClass>com.tokheim.aifueling.AiFuelingApplication</mainClass>
  110. <skip>true</skip>
  111. </configuration>
  112. <executions>
  113. <execution>
  114. <id>repackage</id>
  115. <goals>
  116. <goal>repackage</goal>
  117. </goals>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>