pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-maven-plugin</artifactId>
  77. <configuration>
  78. <fork>true</fork>
  79. </configuration>
  80. </plugin>
  81. </plugins>
  82. </build>
  83. <repositories>
  84. <repository>
  85. <id>public</id>
  86. <name>aliyun nexus</name>
  87. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  88. <releases>
  89. <enabled>true</enabled>
  90. </releases>
  91. </repository>
  92. <!-- openAi 下载仓库-->
  93. <repository>
  94. <id>spring-milestones</id>
  95. <name>Spring Milestones</name>
  96. <url>https://repo.spring.io/milestone</url>
  97. <snapshots>
  98. <enabled>false</enabled>
  99. </snapshots>
  100. </repository>
  101. <repository>
  102. <id>spring-snapshots</id>
  103. <name>Spring Snapshots</name>
  104. <url>https://repo.spring.io/snapshot</url>
  105. <releases>
  106. <enabled>false</enabled>
  107. </releases>
  108. </repository>
  109. </repositories>
  110. <dependencyManagement>
  111. <dependencies>
  112. <dependency>
  113. <groupId>org.springframework.ai</groupId>
  114. <artifactId>spring-ai-bom</artifactId>
  115. <version>0.8.1-SNAPSHOT</version>
  116. <type>pom</type>
  117. <scope>import</scope>
  118. </dependency>
  119. </dependencies>
  120. </dependencyManagement>
  121. </project>