pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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.3.0.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.kuang</groupId>
  12. <artifactId>kuangstudy</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>kuangstudy</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <!-- spring security-->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-security</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.thymeleaf.extras</groupId>
  27. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  28. <version>3.0.4.RELEASE</version>
  29. </dependency>
  30. <!--Json&Date-->
  31. <dependency>
  32. <groupId>com.alibaba</groupId>
  33. <artifactId>fastjson</artifactId>
  34. <version>1.2.68</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>joda-time</groupId>
  38. <artifactId>joda-time</artifactId>
  39. <version>2.10.1</version>
  40. </dependency>
  41. <!-- Swagger -->
  42. <dependency>
  43. <groupId>io.springfox</groupId>
  44. <artifactId>springfox-swagger2</artifactId>
  45. <version>2.9.2</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>io.springfox</groupId>
  49. <artifactId>springfox-swagger-ui</artifactId>
  50. <version>2.9.2</version>
  51. </dependency>
  52. <!--数据库-->
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-boot-starter</artifactId>
  56. <version>3.0.5</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.velocity</groupId>
  60. <artifactId>velocity-engine-core</artifactId>
  61. <version>2.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>mysql</groupId>
  65. <artifactId>mysql-connector-java</artifactId>
  66. <version>5.1.47</version>
  67. </dependency>
  68. <!-- web-thymeleaf -->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-web</artifactId>
  76. </dependency>
  77. <!-- 开发工具 -->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-devtools</artifactId>
  81. <scope>runtime</scope>
  82. <optional>true</optional>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-configuration-processor</artifactId>
  87. <optional>true</optional>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.projectlombok</groupId>
  91. <artifactId>lombok</artifactId>
  92. <optional>true</optional>
  93. </dependency>
  94. <!-- <dependency>-->
  95. <!-- <groupId>org.springframework.boot</groupId>-->
  96. <!-- <artifactId>spring-boot-starter-test</artifactId>-->
  97. <!-- <scope>test</scope>-->
  98. <!-- <exclusions>-->
  99. <!-- <exclusion>-->
  100. <!-- <groupId>org.junit.vintage</groupId>-->
  101. <!-- <artifactId>junit-vintage-engine</artifactId>-->
  102. <!-- </exclusion>-->
  103. <!-- </exclusions>-->
  104. <!-- </dependency>-->
  105. </dependencies>
  106. <!--打包插件-->
  107. <build>
  108. <resources>
  109. <resource>
  110. <directory>src/main/java</directory>
  111. <includes>
  112. <include>**/*.xml</include>
  113. </includes>
  114. <filtering>true</filtering>
  115. </resource>
  116. <!-- maven 过滤文件导致 iconfont展示错误 -->
  117. <resource>
  118. <directory>src/main/resources</directory>
  119. <includes>
  120. <include>*.properties</include>
  121. <include>static/**</include>
  122. <include>templates/**</include>
  123. </includes>
  124. <filtering>false</filtering>
  125. </resource>
  126. </resources>
  127. <plugins>
  128. <plugin>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-maven-plugin</artifactId>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>