河湖长app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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