pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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.7.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>OnlineJudge</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>OnlineJudge</name>
  15. <description>OnlineJudge</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-test</artifactId>
  31. <scope>test</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-devtools</artifactId>
  36. <scope>runtime</scope>
  37. <optional>true</optional>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.commons</groupId>
  41. <artifactId>commons-collections4</artifactId>
  42. <version>4.4</version> <!-- 版本号可以根据您的需求进行更改 -->
  43. </dependency>
  44. <!-- 数据库相关 -->
  45. <!-- <dependency>-->
  46. <!-- <groupId>mysql</groupId>-->
  47. <!-- <artifactId>mysql-connector-java</artifactId>-->
  48. <!-- <version>8.0.28</version>-->
  49. <!-- </dependency>-->
  50. <!-- <dependency>-->
  51. <!-- <groupId>org.springframework</groupId>-->
  52. <!-- <artifactId>spring-jdbc</artifactId>-->
  53. <!-- <version>5.3.14</version>-->
  54. <!-- </dependency>-->
  55. <dependency>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-lang3</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.google.code.gson</groupId>
  61. <artifactId>gson</artifactId>
  62. <version>2.9.1</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.baomidou</groupId>
  66. <artifactId>mybatis-plus-boot-starter</artifactId>
  67. <version>3.5.2</version>
  68. </dependency>
  69. <!-- 工具类 -->
  70. <dependency>
  71. <groupId>org.projectlombok</groupId>
  72. <artifactId>lombok</artifactId>
  73. <optional>true</optional>
  74. </dependency>
  75. <dependency>
  76. <groupId>cn.hutool</groupId>
  77. <artifactId>hutool-all</artifactId>
  78. <version>5.8.18</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>junit</groupId>
  82. <artifactId>junit</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.github.xiaoymin</groupId>
  87. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  88. <version>4.1.0</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-jdbc</artifactId>
  93. </dependency>
  94. <!-- <dependency>-->
  95. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  96. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  97. <!-- <version>2.1.4</version>-->
  98. <!-- </dependency>-->
  99. <dependency>
  100. <groupId>com.mysql</groupId>
  101. <artifactId>mysql-connector-j</artifactId>
  102. <version>8.0.31</version>
  103. <scope>runtime</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>druid-spring-boot-starter</artifactId>
  108. <version>1.2.16</version>
  109. </dependency>
  110. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  111. <dependency>
  112. <groupId>cn.dev33</groupId>
  113. <artifactId>sa-token-spring-boot-starter</artifactId>
  114. <version>1.35.0.RC</version>
  115. </dependency>
  116. </dependencies>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-maven-plugin</artifactId>
  122. <configuration>
  123. <excludes>
  124. <exclude>
  125. <groupId>org.projectlombok</groupId>
  126. <artifactId>lombok</artifactId>
  127. </exclude>
  128. </excludes>
  129. </configuration>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. </project>