pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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-client</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>cn.tycoding</groupId>
  45. <artifactId>langchat-app</artifactId>
  46. </dependency>
  47. </dependencies>
  48. <build>
  49. <finalName>${project.name}</finalName>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-maven-plugin</artifactId>
  54. <configuration>
  55. <finalName>${project.build.finalName}</finalName>
  56. <mainClass>cn.tycoding.langchat.LangChatApp</mainClass>
  57. <layers>
  58. <enabled>true</enabled>
  59. </layers>
  60. </configuration>
  61. </plugin>
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-assembly-plugin</artifactId>
  65. <version>3.3.0</version>
  66. <configuration>
  67. <archive>
  68. <manifest>
  69. <mainClass>cn.tycoding.langchat.LangChatApp</mainClass>
  70. </manifest>
  71. </archive>
  72. <descriptors>
  73. <descriptor>/script/assembly/assembly.xml</descriptor>
  74. </descriptors>
  75. </configuration>
  76. <executions>
  77. <execution>
  78. <id>make-assembly</id>
  79. <phase>package</phase>
  80. <goals>
  81. <goal>single</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. </project>