pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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>3.2.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>cn.qinys.ai</groupId>
  12. <artifactId>chatgpt</artifactId>
  13. <version>0.0.1</version>
  14. <name>chatgpt</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <spring-ai.version>0.8.1</spring-ai.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.ai</groupId>
  27. <artifactId>spring-ai-openai-spring-boot-starter</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-devtools</artifactId>
  32. <scope>runtime</scope>
  33. <optional>true</optional>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.projectlombok</groupId>
  37. <artifactId>lombok</artifactId>
  38. <scope>provided</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-test</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <!--fastjson-->
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>fastjson</artifactId>
  49. <version>2.0.32</version>
  50. </dependency>
  51. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  52. <dependency>
  53. <groupId>cn.hutool</groupId>
  54. <artifactId>hutool-all</artifactId>
  55. <version>5.8.32</version>
  56. </dependency>
  57. </dependencies>
  58. <dependencyManagement>
  59. <dependencies>
  60. <dependency>
  61. <groupId>org.springframework.ai</groupId>
  62. <artifactId>spring-ai-bom</artifactId>
  63. <version>${spring-ai.version}</version>
  64. <type>pom</type>
  65. <scope>import</scope>
  66. </dependency>
  67. </dependencies>
  68. </dependencyManagement>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>
  75. <plugin>
  76. <groupId>io.github.git-commit-id</groupId>
  77. <artifactId>git-commit-id-maven-plugin</artifactId>
  78. <version>9.0.0</version>
  79. <configuration>
  80. <generateGitPropertiesFile>true</generateGitPropertiesFile>
  81. <format>json</format>
  82. <commitIdGenerationMode>full</commitIdGenerationMode>
  83. </configuration>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. <repositories>
  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. </repositories>
  97. </project>