pom.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. </parent>
  25. <artifactId>langchat-server</artifactId>
  26. <version>${revision}</version>
  27. <packaging>jar</packaging>
  28. <dependencies>
  29. <!-- Modules -->
  30. <dependency>
  31. <groupId>cn.tycoding</groupId>
  32. <artifactId>langchat-auth</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>cn.tycoding</groupId>
  36. <artifactId>langchat-ai-core</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>cn.tycoding</groupId>
  40. <artifactId>langchat-upms-api</artifactId>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <finalName>${project.name}</finalName>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-maven-plugin</artifactId>
  49. <configuration>
  50. <finalName>${project.build.finalName}</finalName>
  51. <mainClass>cn.tycoding.langchat.LangChatApp</mainClass>
  52. <layers>
  53. <enabled>true</enabled>
  54. </layers>
  55. </configuration>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-assembly-plugin</artifactId>
  60. <version>3.3.0</version>
  61. <configuration>
  62. <archive>
  63. <manifest>
  64. <mainClass>cn.tycoding.langchat.LangChatApp</mainClass>
  65. </manifest>
  66. </archive>
  67. <descriptors>
  68. <descriptor>/script/assembly/assembly.xml</descriptor>
  69. </descriptors>
  70. </configuration>
  71. <executions>
  72. <execution>
  73. <id>make-assembly</id>
  74. <phase>package</phase>
  75. <goals>
  76. <goal>single</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. </plugins>
  82. </build>
  83. </project>