pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.example</groupId>
  5. <artifactId>DataAcquisitionPlus</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <name>Archetype - DataAcquisitionPlus</name>
  8. <url>http://maven.apache.org</url>
  9. <description>Spring Boot basic project without database</description>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.7.10</version>
  14. <relativePath/>
  15. </parent>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <poi.version>5.2.5</poi.version>
  19. </properties>
  20. <!-- 统一依赖版本 -->
  21. <dependencyManagement>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.apache.poi</groupId>
  25. <artifactId>poi</artifactId>
  26. <version>${poi.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.poi</groupId>
  30. <artifactId>poi-ooxml</artifactId>
  31. <version>${poi.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.poi</groupId>
  35. <artifactId>poi-ooxml-schemas</artifactId>
  36. <version>${poi.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.poi</groupId>
  40. <artifactId>poi-scratchpad</artifactId>
  41. <version>${poi.version}</version>
  42. </dependency>
  43. </dependencies>
  44. </dependencyManagement>
  45. <dependencies>
  46. <!-- Spring Boot Web -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-web</artifactId>
  50. </dependency>
  51. <!-- Excel StreamingReader(推荐) -->
  52. <dependency>
  53. <groupId>com.github.pjfanning</groupId>
  54. <artifactId>excel-streaming-reader</artifactId>
  55. <version>4.2.0</version>
  56. </dependency>
  57. <!-- 如果确实需要 EasyExcel 再解开,否则保持注释 -->
  58. <!--
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>easyexcel</artifactId>
  62. <version>3.1.1</version>
  63. </dependency>
  64. -->
  65. <dependency>
  66. <groupId>com.alibaba</groupId>
  67. <artifactId>fastjson</artifactId>
  68. <version>2.0.40</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.swagger</groupId>
  72. <artifactId>swagger-annotations</artifactId>
  73. <version>1.6.2</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <version>1.16.20</version>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.xerial</groupId>
  83. <artifactId>sqlite-jdbc</artifactId>
  84. <version>3.39.3.0</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.json</groupId>
  88. <artifactId>json</artifactId>
  89. <version>20231013</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.fasterxml.jackson.core</groupId>
  93. <artifactId>jackson-annotations</artifactId>
  94. <version>2.15.2</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-configuration-processor</artifactId>
  99. <optional>true</optional>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springdoc</groupId>
  103. <artifactId>springdoc-openapi-ui</artifactId>
  104. <version>1.7.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.httpcomponents</groupId>
  108. <artifactId>httpclient</artifactId>
  109. <version>4.5.13</version>
  110. </dependency>
  111. <!-- 日志(Spring Boot 自带,不需要额外引入) -->
  112. <!--
  113. <dependency>
  114. <groupId>org.slf4j</groupId>
  115. <artifactId>slf4j-api</artifactId>
  116. <version>1.7.36</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>ch.qos.logback</groupId>
  120. <artifactId>logback-classic</artifactId>
  121. <version>1.2.11</version>
  122. </dependency>
  123. -->
  124. <!-- Spring Boot 测试 -->
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-starter-test</artifactId>
  128. <scope>test</scope>
  129. </dependency>
  130. </dependencies>
  131. <build>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-maven-plugin</artifactId>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>