pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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>cn.tycoding</groupId>
  7. <artifactId>langchat</artifactId>
  8. <version>${revision}</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <artifactId>langchat-server</artifactId>
  12. <version>${revision}</version>
  13. <packaging>jar</packaging>
  14. <dependencies>
  15. <!-- Modules -->
  16. <dependency>
  17. <groupId>cn.tycoding</groupId>
  18. <artifactId>langchat-core</artifactId>
  19. </dependency>
  20. <!-- Spring -->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-data-redis</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-cache</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-configuration-processor</artifactId>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-aop</artifactId>
  41. </dependency>
  42. <!-- Mybatis-Plus -->
  43. <dependency>
  44. <groupId>com.baomidou</groupId>
  45. <artifactId>mybatis-plus-boot-starter</artifactId>
  46. <version>${mybatis-plus.version}</version>
  47. <exclusions>
  48. <exclusion>
  49. <groupId>com.zaxxer</groupId>
  50. <artifactId>HikariCP</artifactId>
  51. </exclusion>
  52. </exclusions>
  53. </dependency>
  54. <!-- Druid -->
  55. <dependency>
  56. <groupId>com.alibaba</groupId>
  57. <artifactId>druid-spring-boot-starter</artifactId>
  58. <version>${druid.version}</version>
  59. </dependency>
  60. <!-- Security -->
  61. <dependency>
  62. <groupId>cn.dev33</groupId>
  63. <artifactId>sa-token-spring-boot-starter</artifactId>
  64. <version>${sa-token.version}</version>
  65. </dependency>
  66. <!-- MySql -->
  67. <dependency>
  68. <groupId>mysql</groupId>
  69. <artifactId>mysql-connector-java</artifactId>
  70. <scope>runtime</scope>
  71. </dependency>
  72. </dependencies>
  73. <build>
  74. <finalName>${project.name}</finalName>
  75. <plugins>
  76. <plugin>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-maven-plugin</artifactId>
  79. <configuration>
  80. <finalName>${project.build.finalName}</finalName>
  81. <mainClass>cn.tycoding.langchat.LangChainChatApp</mainClass>
  82. <layers>
  83. <enabled>true</enabled>
  84. </layers>
  85. </configuration>
  86. </plugin>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-assembly-plugin</artifactId>
  90. <version>3.3.0</version>
  91. <configuration>
  92. <archive>
  93. <manifest>
  94. <mainClass>cn.tycoding.langchat.LangChainChatApp</mainClass>
  95. </manifest>
  96. </archive>
  97. <descriptors>
  98. <descriptor>src/main/assembly/assembly.xml</descriptor>
  99. </descriptors>
  100. </configuration>
  101. <executions>
  102. <execution>
  103. <id>make-assembly</id>
  104. <phase>package</phase>
  105. <goals>
  106. <goal>single</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. </plugins>
  112. </build>
  113. </project>