pom.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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. <!-- quartz -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-quartz</artifactId>
  74. </dependency>
  75. <!-- log4j2 -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-log4j2</artifactId>
  79. </dependency>
  80. <!-- aop -->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-aop</artifactId>
  84. </dependency>
  85. <!-- ==========================view========================== -->
  86. <!-- jsp支持 -->
  87. <dependency>
  88. <groupId>org.apache.tomcat.embed</groupId>
  89. <artifactId>tomcat-embed-jasper</artifactId>
  90. <!-- <scope>provided</scope> -->
  91. </dependency>
  92. <!-- jstl标签库 -->
  93. <dependency>
  94. <groupId>javax.servlet</groupId>
  95. <artifactId>jstl</artifactId>
  96. </dependency>
  97. <!-- ==========================shiro========================== -->
  98. <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-spring -->
  99. <dependency>
  100. <groupId>org.apache.shiro</groupId>
  101. <artifactId>shiro-spring</artifactId>
  102. <version>1.5.3</version>
  103. </dependency>
  104. <!-- ==========================持久层========================== -->
  105. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  106. <dependency>
  107. <groupId>mysql</groupId>
  108. <artifactId>mysql-connector-java</artifactId>
  109. <version>5.1.8</version>
  110. </dependency>
  111. <!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-jpa -->
  112. <dependency>
  113. <groupId>com.querydsl</groupId>
  114. <artifactId>querydsl-jpa</artifactId>
  115. </dependency>
  116. <!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-apt -->
  117. <dependency>
  118. <groupId>com.querydsl</groupId>
  119. <artifactId>querydsl-apt</artifactId>
  120. </dependency>
  121. <!-- ==========================测试•========================== -->
  122. <!-- https://mvnrepository.com/artifact/junit/junit -->
  123. <dependency>
  124. <groupId>junit</groupId>
  125. <artifactId>junit</artifactId>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.mylib</groupId>
  130. <artifactId>GeoLib</artifactId>
  131. <version>1.0</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>easyexcel</artifactId>
  136. <version>2.2.6</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-devtools</artifactId>
  141. <!-- optional=true, 依赖不会传递, 该项目依赖devtools;
  142. 之后依赖boot项目的项目如果想要使用devtools, 需要重新引入 -->
  143. <optional>true</optional>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.squareup.okhttp3</groupId>
  147. <artifactId>okhttp</artifactId>
  148. <version>3.10.0</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.belerweb</groupId>
  152. <artifactId>pinyin4j</artifactId>
  153. <version>2.5.0</version>
  154. </dependency>
  155. </dependencies>
  156. <!-- 开发者(非必须) -->
  157. <developers>
  158. <developer>
  159. <name>136305973</name>
  160. <email>136305973.@qq.com</email>
  161. </developer>
  162. </developers>
  163. <repositories>
  164. <repository>
  165. <id>osgeo</id>
  166. <name>OSGeo Release Repository</name>
  167. <url>https://repo.osgeo.org/repository/release/</url>
  168. <snapshots><enabled>false</enabled></snapshots>
  169. <releases><enabled>false</enabled></releases>
  170. </repository>
  171. <repository>
  172. <id>osgeo-snapshot</id>
  173. <name>OSGeo Snapshot Repository</name>
  174. <url>https://repo.osgeo.org/repository/snapshot/</url>
  175. <snapshots><enabled>false</enabled></snapshots>
  176. <releases><enabled>false</enabled></releases>
  177. </repository>
  178. </repositories>
  179. <!-- 编译 -->
  180. <build>
  181. <finalName>sysu_emap</finalName>
  182. <plugins>
  183. <!-- 打包 -->
  184. <plugin>
  185. <groupId>org.springframework.boot</groupId>
  186. <artifactId>spring-boot-maven-plugin</artifactId>
  187. </plugin>
  188. <!-- 测试 -->
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-surefire-plugin</artifactId>
  192. <configuration>
  193. <skipTests>true</skipTests><!-- 忽略测试 -->
  194. </configuration>
  195. </plugin>
  196. <!-- DSL -->
  197. <plugin>
  198. <groupId>com.mysema.maven</groupId>
  199. <artifactId>apt-maven-plugin</artifactId>
  200. <version>1.1.3</version>
  201. <executions>
  202. <execution>
  203. <goals>
  204. <goal>process</goal>
  205. </goals>
  206. <configuration>
  207. <outputDirectory>target/generated-sources/java</outputDirectory>
  208. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  209. </configuration>
  210. </execution>
  211. </executions>
  212. <dependencies>
  213. <dependency>
  214. <groupId>com.querydsl</groupId>
  215. <artifactId>querydsl-apt</artifactId>
  216. <version>${querydsl.version}</version>
  217. </dependency>
  218. </dependencies>
  219. </plugin>
  220. <!-- <plugin>-->
  221. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  222. <!-- <artifactId>maven-assembly-plugin</artifactId>-->
  223. <!-- <configuration>-->
  224. <!-- <descriptors>-->
  225. <!-- &lt;!&ndash;这里的意思是依据指定的配置文件进行打包&ndash;&gt;-->
  226. <!-- <descriptor>src/main/resources/assembly.xml</descriptor>-->
  227. <!-- </descriptors>-->
  228. <!-- </configuration>-->
  229. <!-- <executions>-->
  230. <!-- <execution>-->
  231. <!-- <id>make-assembly</id>-->
  232. <!-- <phase>package</phase>-->
  233. <!-- <goals>-->
  234. <!-- <goal>single</goal>-->
  235. <!-- </goals>-->
  236. <!-- </execution>-->
  237. <!-- </executions>-->
  238. <!-- </plugin>-->
  239. </plugins>
  240. <!-- <resources>-->
  241. <!-- <resource>-->
  242. <!-- <directory>lib</directory>-->
  243. <!-- <targetPath>/BOOT-INF/lib/</targetPath>-->
  244. <!-- <includes>-->
  245. <!-- <include>**/*.jar</include>-->
  246. <!-- </includes>-->
  247. <!-- </resource>-->
  248. <!-- </resources>-->
  249. </build>
  250. </project>