pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.5.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.skyversation</groupId>
  12. <artifactId>poiApi</artifactId>
  13. <version>25.5.22</version>
  14. <name>poiApi</name>
  15. <description>poiApi</description>
  16. <packaging>war</packaging>
  17. <url/>
  18. <licenses>
  19. <license/>
  20. </licenses>
  21. <developers>
  22. <developer/>
  23. </developers>
  24. <scm>
  25. <connection/>
  26. <developerConnection/>
  27. <tag/>
  28. <url/>
  29. </scm>
  30. <properties>
  31. <geotools.version>25.2</geotools.version>
  32. <java.version>8</java.version>
  33. <maven.compiler.source>11</maven.compiler.source>
  34. <maven.compiler.target>11</maven.compiler.target>
  35. </properties>
  36. <dependencies>
  37. <!-- Spring Data JPA 依赖,用于简化数据库操作 -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-data-jpa</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-web</artifactId>
  45. <!--<exclusions>
  46. <exclusion>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-tomcat</artifactId>
  49. </exclusion>
  50. </exclusions>-->
  51. </dependency>
  52. <!-- MySQL 驱动依赖 -->
  53. <!-- <dependency>-->
  54. <!-- <groupId>org.apache.hive</groupId>-->
  55. <!-- <artifactId>hive</artifactId>-->
  56. <!-- <version>4.0.0</version>-->
  57. <!-- </dependency>-->
  58. <!-- <dependency>-->
  59. <!-- <groupId>com.argoDb</groupId>-->
  60. <!-- <artifactId>argoDb-jdbc-driver</artifactId>-->
  61. <!-- <version>8.37.3</version>-->
  62. <!-- </dependency>-->
  63. <dependency>
  64. <groupId>org.postgresql</groupId>
  65. <artifactId>postgresql</artifactId>
  66. <version>42.6.0</version> <!-- 你可以根据需要调整版本号 -->
  67. </dependency>
  68. <dependency>
  69. <groupId>org.json</groupId>
  70. <artifactId>json</artifactId>
  71. <version>20231013</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.fasterxml.jackson.core</groupId>
  75. <artifactId>jackson-databind</artifactId>
  76. <version>2.12.3</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.fasterxml.jackson.datatype</groupId>
  80. <artifactId>jackson-datatype-jsr310</artifactId>
  81. <version>2.12.3</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alibaba</groupId>
  85. <artifactId>fastjson</artifactId>
  86. <version>1.2.62</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.commons</groupId>
  90. <artifactId>commons-lang3</artifactId>
  91. <version>3.13.0</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.hibernate</groupId>
  95. <artifactId>hibernate-core</artifactId>
  96. <version>5.6.15.Final</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>javax.persistence</groupId>
  100. <artifactId>javax.persistence-api</artifactId>
  101. <version>2.2</version>
  102. </dependency>
  103. <!-- pom.xml -->
  104. <dependency>
  105. <groupId>javax.servlet</groupId>
  106. <artifactId>javax.servlet-api</artifactId>
  107. <version>4.0.1</version>
  108. <scope>provided</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.googlecode.json-simple</groupId>
  112. <artifactId>json-simple</artifactId>
  113. <version>1.1.1</version>
  114. </dependency>
  115. <!-- xlsx读取-->
  116. <dependency>
  117. <groupId>org.apache.xmlbeans</groupId>
  118. <artifactId>xmlbeans</artifactId>
  119. <version>5.2.0</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.opencsv</groupId>
  123. <artifactId>opencsv</artifactId>
  124. <version>5.7.1</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.poi</groupId>
  128. <artifactId>poi</artifactId>
  129. <version>5.2.3</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.poi</groupId>
  133. <artifactId>poi-ooxml</artifactId>
  134. <version>5.2.3</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.httpcomponents</groupId>
  138. <artifactId>httpclient</artifactId>
  139. <version>4.5.13</version>
  140. </dependency>
  141. <!-- https://mvnrepository.com/artifact/org.gdal/gdal -->
  142. <dependency>
  143. <groupId>org.gdal</groupId>
  144. <artifactId>gdal</artifactId>
  145. <version>3.5.0</version>
  146. <type>pom</type>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.osgeo</groupId>
  150. <artifactId>proj4j</artifactId>
  151. <version>0.1.0</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.locationtech.jts</groupId>
  155. <artifactId>jts-core</artifactId>
  156. <version>1.19.0</version>
  157. </dependency>
  158. <!-- 空间地理信息工具类-->
  159. <dependency>
  160. <groupId>org.geotools</groupId>
  161. <artifactId>gt-geojson</artifactId>
  162. <version>${geotools.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.geotools</groupId>
  166. <artifactId>gt-main</artifactId>
  167. <version>${geotools.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.geotools</groupId>
  171. <artifactId>gt-opengis</artifactId>
  172. <version>${geotools.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.geotools</groupId>
  176. <artifactId>gt-shapefile</artifactId>
  177. <version>${geotools.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.geotools</groupId>
  181. <artifactId>gt-metadata</artifactId>
  182. <version>${geotools.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.geotools</groupId>
  186. <artifactId>gt-referencing</artifactId>
  187. <version>${geotools.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot-devtools</artifactId>
  192. <scope>runtime</scope>
  193. <optional>true</optional>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.projectlombok</groupId>
  197. <artifactId>lombok</artifactId>
  198. <optional>true</optional>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-starter-test</artifactId>
  203. <scope>test</scope>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.springframework.boot</groupId>
  207. <artifactId>spring-boot-starter-data-jpa</artifactId>
  208. </dependency>
  209. </dependencies>
  210. <repositories>
  211. <repository>
  212. <id>osgeo</id>
  213. <name>OSGeo Release Repository</name>
  214. <url>https://repo.osgeo.org/repository/release/</url>
  215. </repository>
  216. </repositories>
  217. <build>
  218. <plugins>
  219. <plugin>
  220. <groupId>org.springframework.boot</groupId>
  221. <artifactId>spring-boot-maven-plugin</artifactId>
  222. <configuration>
  223. <includeSystemScope>true</includeSystemScope>
  224. </configuration>
  225. </plugin>
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-compiler-plugin</artifactId>
  229. <version>3.8.1</version>
  230. <configuration>
  231. <source>1.8</source>
  232. <target>1.8</target>
  233. </configuration>
  234. </plugin>
  235. <plugin>
  236. <groupId>org.apache.maven.plugins</groupId>
  237. <artifactId>maven-dependency-plugin</artifactId>
  238. <executions>
  239. <execution>
  240. <id>copy-dependencies</id>
  241. <phase>package</phase>
  242. <goals>
  243. <goal>copy-dependencies</goal>
  244. </goals>
  245. <configuration>
  246. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  247. <includeScope>system</includeScope>
  248. </configuration>
  249. </execution>
  250. </executions>
  251. </plugin>
  252. </plugins>
  253. <resources>
  254. <resource>
  255. <directory>src/main/resources</directory>
  256. </resource>
  257. <resource>
  258. <directory>C:/Users/Liumouren/Desktop/临时文件/元以科技/青浦/青浦城建所/xinghuanDriverJar</directory>
  259. <targetPath>BOOT-INF/lib/</targetPath>
  260. <includes>
  261. <include>*.jar</include>
  262. </includes>
  263. </resource>
  264. </resources>
  265. </build>
  266. </project>