pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.example</groupId>
  7. <artifactId>springboot</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.5.9</version>
  13. </parent>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <!--mysql-->
  25. <dependency>
  26. <groupId>mysql</groupId>
  27. <artifactId>mysql-connector-java</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.mybatis.spring.boot</groupId>
  31. <artifactId>mybatis-spring-boot-starter</artifactId>
  32. <version>2.2.1</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.github.pagehelper</groupId>
  36. <artifactId>pagehelper-spring-boot-starter</artifactId>
  37. <version>1.4.6</version>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>org.mybatis</groupId>
  41. <artifactId>mybatis</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>cn.hutool</groupId>
  47. <artifactId>hutool-all</artifactId>
  48. <version>5.8.18</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.auth0</groupId>
  52. <artifactId>java-jwt</artifactId>
  53. <version>4.3.0</version>
  54. </dependency>
  55. <!-- 数据库连接池 -->
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>druid-spring-boot-starter</artifactId>
  59. <version>1.2.8</version>
  60. </dependency>
  61. <!-- openai -->
  62. <dependency>
  63. <groupId>org.springframework.ai</groupId>
  64. <artifactId>spring-ai-openai-spring-boot-starter</artifactId>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-maven-plugin</artifactId>
  72. <configuration>
  73. <fork>true</fork>
  74. </configuration>
  75. </plugin>
  76. </plugins>
  77. </build>
  78. <repositories>
  79. <repository>
  80. <id>public</id>
  81. <name>aliyun nexus</name>
  82. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  83. <releases>
  84. <enabled>true</enabled>
  85. </releases>
  86. </repository>
  87. <!-- openAi 下载仓库-->
  88. <repository>
  89. <id>spring-milestones</id>
  90. <name>Spring Milestones</name>
  91. <url>https://repo.spring.io/milestone</url>
  92. <snapshots>
  93. <enabled>false</enabled>
  94. </snapshots>
  95. </repository>
  96. <repository>
  97. <id>spring-snapshots</id>
  98. <name>Spring Snapshots</name>
  99. <url>https://repo.spring.io/snapshot</url>
  100. <releases>
  101. <enabled>false</enabled>
  102. </releases>
  103. </repository>
  104. </repositories>
  105. <dependencyManagement>
  106. <dependencies>
  107. <dependency>
  108. <groupId>org.springframework.ai</groupId>
  109. <artifactId>spring-ai-bom</artifactId>
  110. <version>0.8.1-SNAPSHOT</version>
  111. <type>pom</type>
  112. <scope>import</scope>
  113. </dependency>
  114. </dependencies>
  115. </dependencyManagement>
  116. </project>