opai服务管理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

194 lines
5.6 KiB

  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  6. <modelVersion>4.0.0</modelVersion>
  7. <parent>
  8. <groupId>com.bw</groupId>
  9. <artifactId>opai-service-center</artifactId>
  10. <version>0.0.1-SNAPSHOT</version>
  11. </parent>
  12. <groupId>com.bw</groupId>
  13. <artifactId>ai-service</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>ai-service</name>
  16. <url>http://maven.apache.org</url>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-starter-openfeign</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.alibaba.cloud</groupId>
  35. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-actuator</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.projectlombok</groupId>
  43. <artifactId>lombok</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>fastjson</artifactId>
  48. <version>2.0.17</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.httpcomponents</groupId>
  52. <artifactId>httpclient</artifactId>
  53. <version>4.5.3</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.httpcomponents</groupId>
  57. <artifactId>httpmime</artifactId>
  58. <version>4.5.13</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>commons-lang</groupId>
  62. <artifactId>commons-lang</artifactId>
  63. <version>2.6</version>
  64. </dependency>
  65. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  66. <dependency>
  67. <groupId>com.squareup.okhttp3</groupId>
  68. <artifactId>okhttp</artifactId>
  69. <version>4.9.3</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.kafka</groupId>
  73. <artifactId>spring-kafka</artifactId>
  74. </dependency>
  75. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  76. <dependency>
  77. <groupId>org.apache.poi</groupId>
  78. <artifactId>poi</artifactId>
  79. <version>4.1.2</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.poi</groupId>
  83. <artifactId>poi-ooxml</artifactId>
  84. <version>4.1.2</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.poi</groupId>
  88. <artifactId>poi-scratchpad</artifactId>
  89. <version>4.1.2</version>
  90. </dependency>
  91. <!-- 复杂 OOXML 强烈建议 -->
  92. <dependency>
  93. <groupId>org.apache.poi</groupId>
  94. <artifactId>poi-ooxml-schemas</artifactId>
  95. <version>4.1.2</version>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <!-- <pluginManagement> --><!-- lock down plugins versions to avoid using Maven defaults (may be
  100. moved
  101. to parent pom) -->
  102. <plugins>
  103. <!-- clean lifecycle, see
  104. https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  105. <plugin>
  106. <artifactId>maven-clean-plugin</artifactId>
  107. <version>3.1.0</version>
  108. </plugin>
  109. <!-- default lifecycle, jar packaging: see
  110. https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  111. <plugin>
  112. <artifactId>maven-resources-plugin</artifactId>
  113. <version>3.0.2</version>
  114. </plugin>
  115. <plugin>
  116. <artifactId>maven-compiler-plugin</artifactId>
  117. <version>3.8.0</version>
  118. </plugin>
  119. <plugin>
  120. <artifactId>maven-surefire-plugin</artifactId>
  121. <version>2.22.1</version>
  122. </plugin>
  123. <plugin>
  124. <artifactId>maven-jar-plugin</artifactId>
  125. <version>3.0.2</version>
  126. </plugin>
  127. <plugin>
  128. <artifactId>maven-install-plugin</artifactId>
  129. <version>2.5.2</version>
  130. </plugin>
  131. <plugin>
  132. <artifactId>maven-deploy-plugin</artifactId>
  133. <version>2.8.2</version>
  134. </plugin>
  135. <!-- site lifecycle, see
  136. https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  137. <plugin>
  138. <artifactId>maven-site-plugin</artifactId>
  139. <version>3.7.1</version>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-project-info-reports-plugin</artifactId>
  143. <version>3.0.0</version>
  144. </plugin>
  145. <!-- spring-boot-maven-plugin插件就是打包spring boot应用的 -->
  146. <plugin>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-maven-plugin</artifactId>
  149. <configuration>
  150. <mainClass>com.bw.ai.Application</mainClass>
  151. <layout>ZIP</layout>
  152. <includes>
  153. <include>
  154. <groupId>${project.groupId}</groupId>
  155. <artifactId>${project.artifactId}</artifactId>
  156. </include>
  157. </includes>
  158. </configuration>
  159. <executions>
  160. <execution>
  161. <goals>
  162. <goal>repackage</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-dependency-plugin</artifactId>
  170. <version>3.1.1</version>
  171. <executions>
  172. <execution>
  173. <id>copy</id>
  174. <phase>package</phase>
  175. <goals>
  176. <goal>copy-dependencies</goal>
  177. </goals>
  178. <configuration>
  179. <type>jar</type>
  180. <includeTypes>jar</includeTypes>
  181. <includeScope>runtime</includeScope>
  182. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  183. </configuration>
  184. </execution>
  185. </executions>
  186. </plugin>
  187. </plugins>
  188. <!-- </pluginManagement> -->
  189. </build>
  190. </project>