Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  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.2.1.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.taauav</groupId>
  12. <artifactId>admin</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>taauav</name>
  15. <description>MSDAMP project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring.boot.version>2.1.11.RELEASE</spring.boot.version>
  19. <!-- mybatis-plus.version -->
  20. <mybatis-plus.version>3.2.0</mybatis-plus.version>
  21. <!-- swagger.version -->
  22. <swagger.version>2.9.2</swagger.version>
  23. <velocity.version>1.7</velocity.version>
  24. </properties>
  25. <dependencies>
  26. <!-- 包含 mvc,aop 等jar资源 -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-actuator</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  38. </dependency>
  39. <!-- reids -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-redis</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>redis.clients</groupId>
  46. <artifactId>jedis</artifactId>
  47. <version>2.9.0</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.commons</groupId>
  51. <artifactId>commons-pool2</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-mail</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.mybatis.spring.boot</groupId>
  59. <artifactId>mybatis-spring-boot-starter</artifactId>
  60. <version>2.1.1</version>
  61. </dependency>
  62. <!--
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-devtools</artifactId>
  66. <scope>runtime</scope>
  67. <optional>true</optional>
  68. </dependency>
  69. -->
  70. <dependency>
  71. <groupId>mysql</groupId>
  72. <artifactId>mysql-connector-java</artifactId>
  73. <scope>runtime</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-configuration-processor</artifactId>
  78. <optional>true</optional>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.projectlombok</groupId>
  82. <artifactId>lombok</artifactId>
  83. <version>1.18.10</version>
  84. <scope>provided</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-test</artifactId>
  89. <scope>test</scope>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>org.junit.vintage</groupId>
  93. <artifactId>junit-vintage-engine</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-validation</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>fastjson</artifactId>
  104. <version>1.2.62</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.mybatis.generator</groupId>
  108. <artifactId>mybatis-generator-core</artifactId>
  109. <version>1.3.7</version>
  110. </dependency>
  111. <!--apache.commons.lang3-->
  112. <dependency>
  113. <groupId>org.apache.commons</groupId>
  114. <artifactId>commons-lang3</artifactId>
  115. </dependency>
  116. <!--你可以把这个工具看成是java.util的扩展-->
  117. <dependency>
  118. <groupId>org.apache.commons</groupId>
  119. <artifactId>commons-collections4</artifactId>
  120. <version>4.1</version>
  121. </dependency>
  122. <!--apache.codec:编码方法的工具类包
  123. https://blog.csdn.net/u012881904/article/details/52767853-->
  124. <dependency>
  125. <groupId>commons-codec</groupId>
  126. <artifactId>commons-codec</artifactId>
  127. </dependency>
  128. <!-- 权限管理shiro-->
  129. <dependency>
  130. <groupId>org.apache.shiro</groupId>
  131. <artifactId>shiro-spring</artifactId>
  132. <version>1.4.0</version>
  133. </dependency>
  134. <!-- 权限管理-缓存shiro-redis-->
  135. <dependency>
  136. <groupId>org.crazycake</groupId>
  137. <artifactId>shiro-redis</artifactId>
  138. <version>3.1.0</version>
  139. </dependency>
  140. <!--duid依赖-->
  141. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  142. <dependency>
  143. <groupId>com.alibaba</groupId>
  144. <artifactId>druid-spring-boot-starter</artifactId>
  145. <version>1.1.10</version>
  146. </dependency>
  147. <!--mybatis-plus
  148. https://mp.baomidou.com/guide-->
  149. <dependency>
  150. <groupId>com.baomidou</groupId>
  151. <artifactId>mybatis-plus-boot-starter</artifactId>
  152. <version>${mybatis-plus.version}</version>
  153. </dependency>
  154. <!--mybatis-plus 代码自动生成 -->
  155. <dependency>
  156. <groupId>com.baomidou</groupId>
  157. <artifactId>mybatis-plus-generator</artifactId>
  158. <version>${mybatis-plus.version}</version>
  159. </dependency>
  160. <!-- freemarker 模板引擎 -->
  161. <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker -->
  162. <dependency>
  163. <groupId>org.freemarker</groupId>
  164. <artifactId>freemarker</artifactId>
  165. <version>2.3.29</version>
  166. </dependency>
  167. <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 加强版-->
  168. <dependency>
  169. <groupId>com.github.xiaoymin</groupId>
  170. <artifactId>knife4j-spring-boot-starter</artifactId>
  171. <version>1.9.6</version>
  172. </dependency>
  173. <!-- 图片压缩 -->
  174. <dependency>
  175. <groupId>net.coobird</groupId>
  176. <artifactId>thumbnailator</artifactId>
  177. <version>0.4.8</version>
  178. </dependency>
  179. <!--Hutool是一个小而全的Java工具类库 https://mvnrepository.com/artifact/cn.hutool/hutool-core -->
  180. <dependency>
  181. <groupId>cn.hutool</groupId>
  182. <artifactId>hutool-core</artifactId>
  183. <version>5.0.6</version>
  184. </dependency>
  185. <!--图片gps-->
  186. <dependency>
  187. <groupId>com.drewnoakes</groupId>
  188. <artifactId>metadata-extractor</artifactId>
  189. <version>2.6.2</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.springframework</groupId>
  193. <artifactId>spring-test</artifactId>
  194. <version>5.1.7.RELEASE</version>
  195. <scope>compile</scope>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.apache.commons</groupId>
  199. <artifactId>commons-io</artifactId>
  200. <version>1.3.2</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.apache.httpcomponents</groupId>
  204. <artifactId>httpcore</artifactId>
  205. <version>4.4.5</version>
  206. </dependency>
  207. <!-- JWT依赖 -->
  208. <dependency>
  209. <groupId>io.jsonwebtoken</groupId>
  210. <artifactId>jjwt</artifactId>
  211. <version>0.9.1</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.auth0</groupId>
  215. <artifactId>java-jwt</artifactId>
  216. <version>3.4.0</version>
  217. </dependency>
  218. <!--velocity代码生成使用模板 -->
  219. <dependency>
  220. <groupId>org.apache.velocity</groupId>
  221. <artifactId>velocity</artifactId>
  222. <version>${velocity.version}</version>
  223. </dependency>
  224. <!-- Excel处理 -->
  225. <dependency>
  226. <groupId>org.apache.poi</groupId>
  227. <artifactId>poi</artifactId>
  228. <version>3.17</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.apache.poi</groupId>
  232. <artifactId>poi-ooxml</artifactId>
  233. <version>3.17</version>
  234. </dependency>
  235. </dependencies>
  236. <profiles>
  237. <profile>
  238. <!-- 本地开发环境 -->
  239. <id>local</id>
  240. <properties>
  241. <package.environment>local</package.environment>
  242. </properties>
  243. <activation>
  244. <activeByDefault>true</activeByDefault>
  245. </activation>
  246. </profile>
  247. <profile>
  248. <!--开发测试环境 -->
  249. <id>dev</id>
  250. <properties>
  251. <package.environment>dev</package.environment>
  252. </properties>
  253. </profile>
  254. <profile>
  255. <!-- 测试环境 -->
  256. <id>test</id>
  257. <properties>
  258. <package.environment>test</package.environment>
  259. </properties>
  260. </profile>
  261. <profile>
  262. <!-- 生产环境 -->
  263. <id>prod</id>
  264. <properties>
  265. <package.environment>prod</package.environment>
  266. </properties>
  267. </profile>
  268. </profiles>
  269. <build>
  270. <finalName>highway</finalName>
  271. <resources>
  272. <resource>
  273. <directory>src/main/resources</directory>
  274. <filtering>true</filtering>
  275. <excludes>
  276. <exclude>application-local.yml</exclude>
  277. <exclude>application-dev.yml</exclude>
  278. <exclude>application-test.yml</exclude>
  279. <exclude>application-prod.yml</exclude>
  280. </excludes>
  281. </resource>
  282. <resource>
  283. <directory>src/main/java</directory>
  284. <includes>
  285. <include>**/*.*</include>
  286. </includes>
  287. <excludes>
  288. <exclude>**/*.java</exclude>
  289. </excludes>
  290. </resource>
  291. <resource>
  292. <directory>src/main/resources</directory>
  293. <filtering>true</filtering>
  294. <targetPath>WEB-INF/classes</targetPath>
  295. <includes>
  296. <include>application-${package.environment}.yml</include>
  297. </includes>
  298. </resource>
  299. </resources>
  300. <pluginManagement>
  301. <plugins>
  302. <plugin>
  303. <groupId>org.springframework.boot</groupId>
  304. <artifactId>spring-boot-maven-plugin</artifactId>
  305. <version>${spring.boot.version}</version>
  306. <configuration>
  307. <finalName>${project.build.finalName}</finalName>
  308. </configuration>
  309. <executions>
  310. <execution>
  311. <goals>
  312. <goal>repackage</goal>
  313. </goals>
  314. </execution>
  315. </executions>
  316. </plugin>
  317. </plugins>
  318. </pluginManagement>
  319. <plugins>
  320. <plugin>
  321. <groupId>org.springframework.boot</groupId>
  322. <artifactId>spring-boot-maven-plugin</artifactId>
  323. </plugin>
  324. <!-- mybatis generator 自动生成代码插件 -->
  325. <plugin>
  326. <groupId>org.mybatis.generator</groupId>
  327. <artifactId>mybatis-generator-maven-plugin</artifactId>
  328. <version>1.3.1</version>
  329. <configuration>
  330. <configurationFile>${basedir}/src/main/resources/generator/generatorConfig.xml</configurationFile>
  331. <overwrite>true</overwrite>
  332. <verbose>true</verbose>
  333. </configuration>
  334. </plugin>
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-surefire-plugin</artifactId>
  338. <version>2.19</version>
  339. <configuration>
  340. <skipTests>true</skipTests>
  341. </configuration>
  342. </plugin>
  343. <plugin>
  344. <groupId>org.apache.maven.plugins</groupId>
  345. <artifactId>maven-jar-plugin</artifactId>
  346. <version>3.2.0</version>
  347. <configuration>
  348. <archive>
  349. <addMavenDescriptor>false</addMavenDescriptor>
  350. </archive>
  351. </configuration>
  352. </plugin>
  353. </plugins>
  354. </build>
  355. </project>