pom.xml 4.6 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. <!-- 可能需要降版本 -->
  9. <version>3.2.0</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.sf</groupId>
  13. <artifactId>novel-demo</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>novel-demo</name>
  16. <description>novel-demo</description>
  17. <properties>
  18. <java.version>17</java.version>
  19. <jjwt.version>0.11.5</jjwt.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <!-- mybatis整合springboot启动器 -->
  27. <dependency>
  28. <groupId>org.mybatis.spring.boot</groupId>
  29. <artifactId>mybatis-spring-boot-starter</artifactId>
  30. <version>3.0.3</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.mysql</groupId>
  34. <artifactId>mysql-connector-j</artifactId>
  35. <version>8.4.0</version>
  36. </dependency>
  37. <!-- <dependency>-->
  38. <!-- <groupId>mysql</groupId>-->
  39. <!-- <artifactId>mysql-connector-java</artifactId>-->
  40. <!-- <version>8.0.33</version>-->
  41. <!-- </dependency>-->
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. <version>1.18.32</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.baomidou</groupId>
  49. <artifactId>mybatis-plus-boot-starter</artifactId>
  50. <version>3.5.4</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.baomidou</groupId>
  54. <artifactId>mybatis-plus-generator</artifactId>
  55. <version>3.5.4</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.freemarker</groupId>
  59. <artifactId>freemarker</artifactId>
  60. <version>2.3.32</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springdoc</groupId>
  69. <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  70. <version>2.0.2</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springdoc</groupId>
  74. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  75. <version>2.0.2</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>cn.hutool</groupId>
  79. <artifactId>hutool-all</artifactId>
  80. <version>5.8.27</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.data</groupId>
  84. <artifactId>spring-data-commons</artifactId>
  85. <version>3.3.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.jsonwebtoken</groupId>
  89. <artifactId>jjwt-api</artifactId>
  90. <version>${jjwt.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.jsonwebtoken</groupId>
  94. <artifactId>jjwt-impl</artifactId>
  95. <version>${jjwt.version}</version>
  96. <scope>runtime</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>io.jsonwebtoken</groupId>
  100. <artifactId>jjwt-jackson</artifactId>
  101. <version>${jjwt.version}</version>
  102. <scope>runtime</scope>
  103. </dependency>
  104. <!-- springboot整合redis -->
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-data-redis</artifactId>
  108. </dependency>
  109. <!-- 谷歌提供的转化json的jar包 -->
  110. <dependency>
  111. <groupId>com.google.code.gson</groupId>
  112. <artifactId>gson</artifactId>
  113. <version>2.11.0</version>
  114. </dependency>
  115. </dependencies>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-maven-plugin</artifactId>
  121. </plugin>
  122. </plugins>
  123. </build>
  124. </project>