pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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.ai</groupId>
  31. <artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
  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.projectlombok</groupId>
  41. <artifactId>lombok</artifactId>
  42. <scope>provided</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-test</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <!--fastjson-->
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>fastjson</artifactId>
  53. <version>2.0.32</version>
  54. </dependency>
  55. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  56. <dependency>
  57. <groupId>cn.hutool</groupId>
  58. <artifactId>hutool-all</artifactId>
  59. <version>5.8.32</version>
  60. </dependency>
  61. </dependencies>
  62. <dependencyManagement>
  63. <dependencies>
  64. <dependency>
  65. <groupId>org.springframework.ai</groupId>
  66. <artifactId>spring-ai-bom</artifactId>
  67. <version>${spring-ai.version}</version>
  68. <type>pom</type>
  69. <scope>import</scope>
  70. </dependency>
  71. </dependencies>
  72. </dependencyManagement>
  73. <build>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-maven-plugin</artifactId>
  78. </plugin>
  79. <plugin>
  80. <groupId>io.github.git-commit-id</groupId>
  81. <artifactId>git-commit-id-maven-plugin</artifactId>
  82. <version>9.0.0</version>
  83. <configuration>
  84. <generateGitPropertiesFile>true</generateGitPropertiesFile>
  85. <format>json</format>
  86. <commitIdGenerationMode>full</commitIdGenerationMode>
  87. </configuration>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. <repositories>
  92. <repository>
  93. <id>spring-milestones</id>
  94. <name>Spring Milestones</name>
  95. <url>https://repo.spring.io/milestone</url>
  96. <snapshots>
  97. <enabled>false</enabled>
  98. </snapshots>
  99. </repository>
  100. </repositories>
  101. </project>