pom.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  4. ~
  5. ~ Licensed under the GNU Affero General Public License, Version 3 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ https://www.gnu.org/licenses/agpl-3.0.html
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  18. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  19. <modelVersion>4.0.0</modelVersion>
  20. <parent>
  21. <groupId>cn.tycoding</groupId>
  22. <artifactId>langchat</artifactId>
  23. <version>${revision}</version>
  24. <relativePath>../pom.xml</relativePath>
  25. </parent>
  26. <artifactId>langchat-server</artifactId>
  27. <version>${revision}</version>
  28. <packaging>jar</packaging>
  29. <dependencies>
  30. <!-- Modules -->
  31. <dependency>
  32. <groupId>cn.tycoding</groupId>
  33. <artifactId>langchat-core</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>cn.tycoding</groupId>
  37. <artifactId>langchat-auth</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>cn.tycoding</groupId>
  41. <artifactId>langchat-flow</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>cn.tycoding</groupId>
  45. <artifactId>langchat-client</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>cn.tycoding</groupId>
  49. <artifactId>langchat-app</artifactId>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <finalName>${project.name}</finalName>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-maven-plugin</artifactId>
  58. <configuration>
  59. <finalName>${project.build.finalName}</finalName>
  60. <mainClass>cn.tycoding.langchat.LangChatApp</mainClass>
  61. <layers>
  62. <enabled>true</enabled>
  63. </layers>
  64. </configuration>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-assembly-plugin</artifactId>
  69. <version>3.3.0</version>
  70. <configuration>
  71. <archive>
  72. <manifest>
  73. <mainClass>cn.tycoding.langchat.LangChatApp</mainClass>
  74. </manifest>
  75. </archive>
  76. <descriptors>
  77. <descriptor>/script/assembly/assembly.xml</descriptor>
  78. </descriptors>
  79. </configuration>
  80. <executions>
  81. <execution>
  82. <id>make-assembly</id>
  83. <phase>package</phase>
  84. <goals>
  85. <goal>single</goal>
  86. </goals>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. </project>