pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.sky.building</groupId>
  7. <artifactId>wisdom_building</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>sky-building</name>
  10. <description>skyversation building server</description>
  11. <packaging>war</packaging>
  12. <properties>
  13. <geotools.version>25.2</geotools.version>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18. <parent>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-parent</artifactId>
  21. <version>2.5.2</version>
  22. <relativePath/> <!-- lookup parent from repository -->
  23. </parent>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. <!-- 打包专用,平时注释掉-->
  29. <!-- <exclusions>-->
  30. <!-- <exclusion>-->
  31. <!-- <groupId>org.springframework.boot</groupId>-->
  32. <!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
  33. <!-- </exclusion>-->
  34. <!-- </exclusions>-->
  35. </dependency>
  36. <!-- 打包专用,平时注释掉-->
  37. <!-- <dependency>-->
  38. <!-- <groupId>javax.servlet</groupId>-->
  39. <!-- <artifactId>javax.servlet-api</artifactId>-->
  40. <!-- <version>3.1.0</version>-->
  41. <!-- </dependency>-->
  42. <!-- <dependency>-->
  43. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  44. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  45. <!-- <version>2.2.0</version>-->
  46. <!-- </dependency>-->
  47. <!-- excel 解析库-->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-test</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-boot-starter</artifactId>
  56. <version>3.5.1</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.poi</groupId>
  60. <artifactId>poi</artifactId>
  61. <version>3.13</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.poi</groupId>
  65. <artifactId>poi-ooxml</artifactId>
  66. <version>3.13</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. </dependency>
  72. <!-- <dependency>-->
  73. <!-- <groupId>org.springframework.boot</groupId>-->
  74. <!-- <artifactId>spring-boot-starter-quartz</artifactId>-->
  75. <!-- </dependency>-->
  76. <dependency>
  77. <groupId>com.vividsolutions</groupId>
  78. <artifactId>jts</artifactId>
  79. <version>1.13</version>
  80. </dependency>
  81. <!-- swagger3.0 -->
  82. <dependency>
  83. <groupId>io.springfox</groupId>
  84. <artifactId>springfox-boot-starter</artifactId>
  85. <version>3.0.0</version>
  86. </dependency>
  87. <!-- redis -->
  88. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis -->
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-data-redis</artifactId>
  92. <version>2.5.2</version>
  93. </dependency>
  94. <!-- &lt;!&ndash; spring cache&ndash;&gt;-->
  95. <!-- <dependency>-->
  96. <!-- <groupId>org.springframework.boot</groupId>-->
  97. <!-- <artifactId>spring-boot-starter-cache</artifactId>-->
  98. <!-- </dependency>-->
  99. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 -->
  100. <dependency>
  101. <groupId>org.apache.commons</groupId>
  102. <artifactId>commons-pool2</artifactId>
  103. <version>2.10.0</version>
  104. </dependency>
  105. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  106. <dependency>
  107. <groupId>org.projectlombok</groupId>
  108. <artifactId>lombok</artifactId>
  109. <version>1.18.20</version>
  110. <scope>provided</scope>
  111. </dependency>
  112. <!-- https://mvnrepository.com/artifact/com.auth0/java-jwt -->
  113. <dependency>
  114. <groupId>com.auth0</groupId>
  115. <artifactId>java-jwt</artifactId>
  116. <version>3.8.3</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.alibaba</groupId>
  120. <artifactId>fastjson</artifactId>
  121. <version>1.2.62</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.commons</groupId>
  125. <artifactId>commons-lang3</artifactId>
  126. <version>3.8.1</version>
  127. </dependency>
  128. </dependencies>
  129. <build>
  130. <!-- 打包专用,平时注释掉-->
  131. <finalName>metadata-sky-war</finalName>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-maven-plugin</artifactId>
  136. </plugin>
  137. <!-- <plugin>-->
  138. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  139. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  140. <!-- <version>3.8.1</version>-->
  141. <!-- <configuration>-->
  142. <!-- &lt;!&ndash; 编译使用,平时可不用&ndash;&gt;-->
  143. <!-- &lt;!&ndash; <verbose>true</verbose>&ndash;&gt;-->
  144. <!-- &lt;!&ndash; <fork>true</fork>&ndash;&gt;-->
  145. <!-- &lt;!&ndash; <executable>${JAVA8_HOME}/bin/javac</executable>&ndash;&gt;-->
  146. <!-- </configuration>-->
  147. <!-- </plugin>-->
  148. <!-- <plugin>-->
  149. <!-- <artifactId>maven-antrun-plugin</artifactId>-->
  150. <!-- <executions>-->
  151. <!-- <execution>-->
  152. <!-- <phase>package</phase>-->
  153. <!-- <configuration>-->
  154. <!-- <tasks>-->
  155. <!-- <copy todir="src/main/docker" file="target/${project.artifactId}-${project.version}.${project.packaging}"/>-->
  156. <!-- </tasks>-->
  157. <!-- </configuration>-->
  158. <!-- <goals>-->
  159. <!-- <goal>run</goal>-->
  160. <!-- </goals>-->
  161. <!-- </execution>-->
  162. <!-- </executions>-->
  163. <!-- </plugin>-->
  164. </plugins>
  165. </build>
  166. <repositories>
  167. <repository>
  168. <id>osgeo</id>
  169. <name>OSGeo Release Repository</name>
  170. <url>https://repo.osgeo.org/repository/release/</url>
  171. <snapshots>
  172. <enabled>false</enabled>
  173. </snapshots>
  174. <releases>
  175. <enabled>true</enabled>
  176. <!--不加如下updatePolicy会报错:resolution will not be reattempted until the update interval of XXX has elapsed or updates are force-->
  177. <updatePolicy>always</updatePolicy>
  178. </releases>
  179. </repository>
  180. <repository>
  181. <id>maven2-repository.dev.java.net</id>
  182. <name>Java.net repository</name>
  183. <url>http://download.java.net/maven/2</url>
  184. </repository>
  185. <repository>
  186. <snapshots>
  187. <enabled>true</enabled>
  188. </snapshots>
  189. <id>boundless</id>
  190. <name>Boundless Maven Repository</name>
  191. <url>http://repo.boundlessgeo.com/main</url>
  192. </repository>
  193. </repositories>
  194. </project>