pom.xml 8.6 KB

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