pom.xml 8.8 KB

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