pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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>com.hssx</groupId>
  7. <artifactId>model</artifactId>
  8. <version>0.0.1-SNAPSHOT</version> <!-- lookup parent from repository -->
  9. </parent>
  10. <groupId>com.hssx</groupId>
  11. <artifactId>website</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>website</name>
  14. <description>Demo project for Spring Boot</description>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <!--修改thymeleaf版本 注:经过本人测试这两个版本没有冲突问题,别乱修改版本
  18. 否则会导致页面跳转的问题-->
  19. <thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
  20. <!-- 布局功能的支持 thymeleaf3 layout2以上版本-->
  21. <thymeleaf-layout-dialect.version>2.2.2</thymeleaf-layout-dialect.version>
  22. </properties>
  23. <repositories>
  24. <repository>
  25. <id>alimaven</id>
  26. <name>aliyun maven</name>
  27. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  28. </repository>
  29. <repository>
  30. <id>alimaven2</id>
  31. <name>aliyun maven 2</name>
  32. <url>http://maven.aliyun.com/nexus/content/repositories/central</url>
  33. </repository>
  34. </repositories>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. </dependency>
  44. <!-- mybatis-plus依赖 -->
  45. <dependency>
  46. <groupId>com.baomidou</groupId>
  47. <artifactId>mybatis-plus-boot-starter</artifactId>
  48. <version>3.1.2</version>
  49. </dependency>
  50. <!-- mybatis-plus代码生成器依赖 -->
  51. <dependency>
  52. <groupId>com.baomidou</groupId>
  53. <artifactId>mybatis-plus-generator</artifactId>
  54. <version>3.1.2</version>
  55. </dependency>
  56. <!-- velocity模板引擎 -->
  57. <dependency>
  58. <groupId>org.apache.velocity</groupId>
  59. <artifactId>velocity-engine-core</artifactId>
  60. <version>2.0</version>
  61. </dependency>
  62. <!-- fastjson -->
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>fastjson</artifactId>
  66. <version>1.2.7</version>
  67. </dependency>
  68. <!-- freemarker 模板引擎-->
  69. <dependency>
  70. <groupId>org.freemarker</groupId>
  71. <artifactId>freemarker</artifactId>
  72. <version>2.3.23</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-devtools</artifactId>
  77. <scope>runtime</scope>
  78. <optional>true</optional>
  79. </dependency>
  80. <dependency>
  81. <groupId>mysql</groupId>
  82. <artifactId>mysql-connector-java</artifactId>
  83. <scope>runtime</scope>
  84. </dependency>
  85. <!--发送邮件的依赖-->
  86. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-mail -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-mail</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.projectlombok</groupId>
  93. <artifactId>lombok</artifactId>
  94. <optional>true</optional>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-test</artifactId>
  99. <scope>test</scope>
  100. <exclusions>
  101. <exclusion>
  102. <groupId>org.junit.vintage</groupId>
  103. <artifactId>junit-vintage-engine</artifactId>
  104. </exclusion>
  105. </exclusions>
  106. </dependency>
  107. </dependencies>
  108. <build>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>