pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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.sysu</groupId>
  7. <artifactId>sysu_emap</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <!-- 打包类型 -->
  10. <packaging>war</packaging>
  11. <!-- 父类 -->
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.3.4.RELEASE</version>
  16. <relativePath />
  17. </parent>
  18. <!-- 配置 -->
  19. <properties>
  20. <!-- 文件拷贝时的编码 -->
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <!-- 编译时的编码 -->
  24. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  25. <!-- JAVA版本 -->
  26. <java.version>1.8</java.version>
  27. <!-- FAST版本 -->
  28. <fast.version>2.2.1</fast.version>
  29. </properties>
  30. <!-- 版本管理,会引入jar -->
  31. <dependencies>
  32. <!-- ==========================gotv-core========================== -->
  33. <dependency>
  34. <groupId>com.xiesx.fast</groupId>
  35. <artifactId>fast-boot</artifactId>
  36. <version>${fast.version}</version>
  37. </dependency>
  38. <!-- ==========================spring-boot========================== -->
  39. <!-- web -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. <exclusions><!-- 去掉默认配置 -->
  44. <exclusion>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-logging</artifactId>
  47. </exclusion>
  48. <exclusion>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-tomcat</artifactId>
  51. </exclusion>
  52. </exclusions>
  53. </dependency>
  54. <!-- data-jdbc -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  58. </dependency>
  59. <!-- data-jpa -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-jpa</artifactId>
  63. </dependency>
  64. <!-- config -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-configuration-processor</artifactId>
  68. <optional>true</optional>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-test</artifactId>
  73. <version>1.5.9.RELEASE</version>
  74. </dependency>
  75. <!-- quartz -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-quartz</artifactId>
  79. </dependency>
  80. <!-- log4j2 -->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-log4j2</artifactId>
  84. </dependency>
  85. <!-- aop -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-aop</artifactId>
  89. </dependency>
  90. <!-- ==========================view========================== -->
  91. <!-- jsp支持 -->
  92. <dependency>
  93. <groupId>org.apache.tomcat.embed</groupId>
  94. <artifactId>tomcat-embed-jasper</artifactId>
  95. <!-- <scope>provided</scope> -->
  96. </dependency>
  97. <!-- jstl标签库 -->
  98. <dependency>
  99. <groupId>javax.servlet</groupId>
  100. <artifactId>jstl</artifactId>
  101. </dependency>
  102. <!-- ==========================shiro========================== -->
  103. <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-spring -->
  104. <dependency>
  105. <groupId>org.apache.shiro</groupId>
  106. <artifactId>shiro-spring</artifactId>
  107. <version>1.5.3</version>
  108. </dependency>
  109. <!-- ==========================持久层========================== -->
  110. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  111. <dependency>
  112. <groupId>mysql</groupId>
  113. <artifactId>mysql-connector-java</artifactId>
  114. <version>5.1.8</version>
  115. </dependency>
  116. <!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-jpa -->
  117. <dependency>
  118. <groupId>com.querydsl</groupId>
  119. <artifactId>querydsl-jpa</artifactId>
  120. </dependency>
  121. <!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-apt -->
  122. <dependency>
  123. <groupId>com.querydsl</groupId>
  124. <artifactId>querydsl-apt</artifactId>
  125. </dependency>
  126. <!-- ==========================测试•========================== -->
  127. <!-- https://mvnrepository.com/artifact/junit/junit -->
  128. <dependency>
  129. <groupId>junit</groupId>
  130. <artifactId>junit</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.mylib</groupId>
  134. <artifactId>GeoLib</artifactId>
  135. <version>1.0</version>
  136. </dependency>
  137. <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-spatial -->
  138. <dependency>
  139. <groupId>org.hibernate</groupId>
  140. <artifactId>hibernate-spatial</artifactId>
  141. <version>5.6.10.Final</version>
  142. </dependency>
  143. <!-- https://mvnrepository.com/artifact/net.postgis/postgis-jdbc -->
  144. <dependency>
  145. <groupId>net.postgis</groupId>
  146. <artifactId>postgis-jdbc</artifactId>
  147. <version>2.5.1</version>
  148. </dependency>
  149. <!-- https://mvnrepository.com/artifact/com.github.zhangquanli/aliyun-sms-spring-boot-starter -->
  150. <dependency>
  151. <groupId>com.github.zhangquanli</groupId>
  152. <artifactId>aliyun-sms-spring-boot-starter</artifactId>
  153. <version>1.0.2</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.alibaba</groupId>
  157. <artifactId>easyexcel</artifactId>
  158. <version>2.2.6</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-devtools</artifactId>
  163. <!-- optional=true, 依赖不会传递, 该项目依赖devtools;
  164. 之后依赖boot项目的项目如果想要使用devtools, 需要重新引入 -->
  165. <optional>true</optional>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.squareup.okhttp3</groupId>
  169. <artifactId>okhttp</artifactId>
  170. <version>3.10.0</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.belerweb</groupId>
  174. <artifactId>pinyin4j</artifactId>
  175. <version>2.5.0</version>
  176. </dependency>
  177. </dependencies>
  178. <!-- 开发者(非必须) -->
  179. <developers>
  180. <developer>
  181. <name>136305973</name>
  182. <email>136305973.@qq.com</email>
  183. </developer>
  184. </developers>
  185. <repositories>
  186. <repository>
  187. <id>osgeo</id>
  188. <name>OSGeo Release Repository</name>
  189. <url>https://repo.osgeo.org/repository/release/</url>
  190. <snapshots><enabled>false</enabled></snapshots>
  191. <releases><enabled>false</enabled></releases>
  192. </repository>
  193. <repository>
  194. <id>osgeo-snapshot</id>
  195. <name>OSGeo Snapshot Repository</name>
  196. <url>https://repo.osgeo.org/repository/snapshot/</url>
  197. <snapshots><enabled>false</enabled></snapshots>
  198. <releases><enabled>false</enabled></releases>
  199. </repository>
  200. </repositories>
  201. <!-- 编译 -->
  202. <build>
  203. <finalName>sysu_emap</finalName>
  204. <plugins>
  205. <!-- 打包 -->
  206. <plugin>
  207. <groupId>org.springframework.boot</groupId>
  208. <artifactId>spring-boot-maven-plugin</artifactId>
  209. </plugin>
  210. <!-- 测试 -->
  211. <plugin>
  212. <groupId>org.apache.maven.plugins</groupId>
  213. <artifactId>maven-surefire-plugin</artifactId>
  214. <configuration>
  215. <skipTests>true</skipTests><!-- 忽略测试 -->
  216. </configuration>
  217. </plugin>
  218. <!-- DSL -->
  219. <plugin>
  220. <groupId>com.mysema.maven</groupId>
  221. <artifactId>apt-maven-plugin</artifactId>
  222. <version>1.1.3</version>
  223. <executions>
  224. <execution>
  225. <goals>
  226. <goal>process</goal>
  227. </goals>
  228. <configuration>
  229. <outputDirectory>target/generated-sources/java</outputDirectory>
  230. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  231. </configuration>
  232. </execution>
  233. </executions>
  234. <dependencies>
  235. <dependency>
  236. <groupId>com.querydsl</groupId>
  237. <artifactId>querydsl-apt</artifactId>
  238. <version>${querydsl.version}</version>
  239. </dependency>
  240. </dependencies>
  241. </plugin>
  242. <plugin>
  243. <artifactId>maven-compiler-plugin</artifactId>
  244. <configuration>
  245. <source>1.8</source>
  246. <target>1.8</target>
  247. <encoding>UTF-8</encoding>
  248. <!-- <compilerArguments>-->
  249. <!-- <verbose />-->
  250. <!-- <bootclasspath>${java.home}\lib\rt.jar;${java.home}\lib\jce.jar;</bootclasspath>-->
  251. <!-- </compilerArguments>-->
  252. </configuration>
  253. </plugin>
  254. <!-- <plugin>-->
  255. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  256. <!-- <artifactId>maven-assembly-plugin</artifactId>-->
  257. <!-- <configuration>-->
  258. <!-- <descriptors>-->
  259. <!-- &lt;!&ndash;这里的意思是依据指定的配置文件进行打包&ndash;&gt;-->
  260. <!-- <descriptor>src/main/resources/assembly.xml</descriptor>-->
  261. <!-- </descriptors>-->
  262. <!-- </configuration>-->
  263. <!-- <executions>-->
  264. <!-- <execution>-->
  265. <!-- <id>make-assembly</id>-->
  266. <!-- <phase>package</phase>-->
  267. <!-- <goals>-->
  268. <!-- <goal>single</goal>-->
  269. <!-- </goals>-->
  270. <!-- </execution>-->
  271. <!-- </executions>-->
  272. <!-- </plugin>-->
  273. </plugins>
  274. <!-- <resources>-->
  275. <!-- <resource>-->
  276. <!-- <directory>lib</directory>-->
  277. <!-- <targetPath>/BOOT-INF/lib/</targetPath>-->
  278. <!-- <includes>-->
  279. <!-- <include>**/*.jar</include>-->
  280. <!-- </includes>-->
  281. <!-- </resource>-->
  282. <!-- </resources>-->
  283. </build>
  284. </project>