pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. </dependencies>
  21. <build>
  22. <finalName>${project.name}</finalName>
  23. <plugins>
  24. <plugin>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-maven-plugin</artifactId>
  27. <configuration>
  28. <finalName>${project.build.finalName}</finalName>
  29. <mainClass>cn.tycoding.langchat.LangChatApp</mainClass>
  30. <layers>
  31. <enabled>true</enabled>
  32. </layers>
  33. </configuration>
  34. </plugin>
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-assembly-plugin</artifactId>
  38. <version>3.3.0</version>
  39. <configuration>
  40. <archive>
  41. <manifest>
  42. <mainClass>cn.tycoding.langchat.LangChatApp</mainClass>
  43. </manifest>
  44. </archive>
  45. <descriptors>
  46. <descriptor>/script/assembly/assembly.xml</descriptor>
  47. </descriptors>
  48. </configuration>
  49. <executions>
  50. <execution>
  51. <id>make-assembly</id>
  52. <phase>package</phase>
  53. <goals>
  54. <goal>single</goal>
  55. </goals>
  56. </execution>
  57. </executions>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. </project>