pom.xml 9.5 KB

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