pom.xml 3.3 KB

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