pom.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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</version>
  14. <name>poiaddr</name>
  15. <description>poiaddr</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. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-web</artifactId>
  38. <!-- 本地运行要注释掉,打war包的时候要放开-->
  39. <exclusions>
  40. <exclusion>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-tomcat</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>jakarta.servlet</groupId>
  48. <artifactId>jakarta.servlet-api</artifactId>
  49. <version>6.0.0</version> <!-- 对应Java EE 6+ -->
  50. <scope>provided</scope> <!-- 由外部容器提供,不打包到WAR中 -->
  51. </dependency>
  52. <dependency>
  53. <groupId>org.json</groupId>
  54. <artifactId>json</artifactId>
  55. <version>20231013</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.fasterxml.jackson.core</groupId>
  59. <artifactId>jackson-databind</artifactId>
  60. <version>2.12.3</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.fasterxml.jackson.datatype</groupId>
  64. <artifactId>jackson-datatype-jsr310</artifactId>
  65. <version>2.12.3</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.alibaba</groupId>
  69. <artifactId>fastjson</artifactId>
  70. <version>1.2.62</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.commons</groupId>
  74. <artifactId>commons-lang3</artifactId>
  75. <version>3.13.0</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.googlecode.json-simple</groupId>
  79. <artifactId>json-simple</artifactId>
  80. <version>1.1.1</version>
  81. </dependency>
  82. <!-- xlsx读取-->
  83. <dependency>
  84. <groupId>org.apache.xmlbeans</groupId>
  85. <artifactId>xmlbeans</artifactId>
  86. <version>5.2.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.opencsv</groupId>
  90. <artifactId>opencsv</artifactId>
  91. <version>5.7.1</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.poi</groupId>
  95. <artifactId>poi</artifactId>
  96. <version>5.2.3</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.poi</groupId>
  100. <artifactId>poi-ooxml</artifactId>
  101. <version>5.2.3</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.httpcomponents</groupId>
  105. <artifactId>httpclient</artifactId>
  106. <version>4.5.13</version>
  107. </dependency>
  108. <!-- https://mvnrepository.com/artifact/org.gdal/gdal -->
  109. <dependency>
  110. <groupId>org.gdal</groupId>
  111. <artifactId>gdal</artifactId>
  112. <version>3.5.0</version>
  113. <type>pom</type>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.osgeo</groupId>
  117. <artifactId>proj4j</artifactId>
  118. <version>0.1.0</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.locationtech.jts</groupId>
  122. <artifactId>jts-core</artifactId>
  123. <version>1.19.0</version>
  124. </dependency>
  125. <!-- 空间地理信息工具类-->
  126. <dependency>
  127. <groupId>org.geotools</groupId>
  128. <artifactId>gt-geojson</artifactId>
  129. <version>${geotools.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.geotools</groupId>
  133. <artifactId>gt-main</artifactId>
  134. <version>${geotools.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.geotools</groupId>
  138. <artifactId>gt-opengis</artifactId>
  139. <version>${geotools.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.geotools</groupId>
  143. <artifactId>gt-shapefile</artifactId>
  144. <version>${geotools.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.geotools</groupId>
  148. <artifactId>gt-metadata</artifactId>
  149. <version>${geotools.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.geotools</groupId>
  153. <artifactId>gt-referencing</artifactId>
  154. <version>${geotools.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.springframework.boot</groupId>
  158. <artifactId>spring-boot-devtools</artifactId>
  159. <scope>runtime</scope>
  160. <optional>true</optional>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.projectlombok</groupId>
  164. <artifactId>lombok</artifactId>
  165. <optional>true</optional>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-starter-test</artifactId>
  170. <scope>test</scope>
  171. </dependency>
  172. </dependencies>
  173. <repositories>
  174. <repository>
  175. <id>osgeo</id>
  176. <name>OSGeo Release Repository</name>
  177. <url>https://repo.osgeo.org/repository/release/</url>
  178. </repository>
  179. </repositories>
  180. <build>
  181. <plugins>
  182. <plugin>
  183. <groupId>org.springframework.boot</groupId>
  184. <artifactId>spring-boot-maven-plugin</artifactId>
  185. <configuration>
  186. <includeSystemScope>true</includeSystemScope>
  187. </configuration>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-compiler-plugin</artifactId>
  192. <version>3.8.1</version>
  193. <configuration>
  194. <source>1.8</source>
  195. <target>1.8</target>
  196. </configuration>
  197. </plugin>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-dependency-plugin</artifactId>
  201. <executions>
  202. <execution>
  203. <id>copy-dependencies</id>
  204. <phase>package</phase>
  205. <goals>
  206. <goal>copy-dependencies</goal>
  207. </goals>
  208. <configuration>
  209. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  210. <includeScope>system</includeScope>
  211. </configuration>
  212. </execution>
  213. </executions>
  214. </plugin>
  215. </plugins>
  216. <resources>
  217. <resource>
  218. <directory>src/main/resources</directory>
  219. </resource>
  220. <resource>
  221. <directory>C:/Users/Liumouren/Desktop/临时文件/元以科技/青浦/青浦城建所/xinghuanDriverJar</directory>
  222. <targetPath>BOOT-INF/lib/</targetPath>
  223. <includes>
  224. <include>*.jar</include>
  225. </includes>
  226. </resource>
  227. </resources>
  228. </build>
  229. </project>