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.

177 lines
4.9 KiB

2 months ago
  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. <relativePath>../pom.xml</relativePath>
  12. </parent>
  13. <groupId>com.bw</groupId>
  14. <artifactId>opai-api</artifactId>
  15. <version>0.0.1-SNAPSHOT</version>
  16. <name>opai-api</name>
  17. <url>http://maven.apache.org</url>
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.alibaba.cloud</groupId>
  28. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.cloud</groupId>
  32. <artifactId>spring-cloud-starter-openfeign</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba.cloud</groupId>
  36. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-actuator</artifactId>
  41. </dependency>
  42. <!-- Spring Boot JDBC / MySQL 数据源 -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-jdbc</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>mysql</groupId>
  49. <artifactId>mysql-connector-java</artifactId>
  50. <scope>runtime</scope>
  51. </dependency>
  52. <!-- MyBatis-Plus Boot Starter -->
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-boot-starter</artifactId>
  56. <version>3.4.3.4</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.projectlombok</groupId>
  60. <artifactId>lombok</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.alibaba</groupId>
  64. <artifactId>fastjson</artifactId>
  65. <version>2.0.17</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.httpcomponents</groupId>
  69. <artifactId>httpclient</artifactId>
  70. <version>4.5.3</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.httpcomponents</groupId>
  74. <artifactId>httpmime</artifactId>
  75. <version>4.5.13</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>commons-lang</groupId>
  79. <artifactId>commons-lang</artifactId>
  80. <version>2.6</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.baomidou</groupId>
  84. <artifactId>mybatis-plus-boot-starter</artifactId>
  85. <version>3.4.3.4</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.jsonwebtoken</groupId>
  89. <artifactId>jjwt</artifactId>
  90. <version>0.9.1</version>
  91. </dependency>
  92. </dependencies>
  93. <build>
  94. <plugins>
  95. <plugin>
  96. <artifactId>maven-clean-plugin</artifactId>
  97. <version>3.1.0</version>
  98. </plugin>
  99. <plugin>
  100. <artifactId>maven-resources-plugin</artifactId>
  101. <version>3.0.2</version>
  102. </plugin>
  103. <plugin>
  104. <artifactId>maven-compiler-plugin</artifactId>
  105. <version>3.8.0</version>
  106. </plugin>
  107. <plugin>
  108. <artifactId>maven-surefire-plugin</artifactId>
  109. <version>2.22.1</version>
  110. </plugin>
  111. <plugin>
  112. <artifactId>maven-jar-plugin</artifactId>
  113. <version>3.0.2</version>
  114. </plugin>
  115. <plugin>
  116. <artifactId>maven-install-plugin</artifactId>
  117. <version>2.5.2</version>
  118. </plugin>
  119. <plugin>
  120. <artifactId>maven-deploy-plugin</artifactId>
  121. <version>2.8.2</version>
  122. </plugin>
  123. <plugin>
  124. <artifactId>maven-site-plugin</artifactId>
  125. <version>3.7.1</version>
  126. </plugin>
  127. <plugin>
  128. <artifactId>maven-project-info-reports-plugin</artifactId>
  129. <version>3.0.0</version>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-maven-plugin</artifactId>
  134. <configuration>
  135. <mainClass>com.bw.opai.Application</mainClass>
  136. <layout>ZIP</layout>
  137. <includes>
  138. <include>
  139. <groupId>${project.groupId}</groupId>
  140. <artifactId>${project.artifactId}</artifactId>
  141. </include>
  142. </includes>
  143. </configuration>
  144. <executions>
  145. <execution>
  146. <goals>
  147. <goal>repackage</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-dependency-plugin</artifactId>
  155. <version>3.1.1</version>
  156. <executions>
  157. <execution>
  158. <id>copy</id>
  159. <phase>package</phase>
  160. <goals>
  161. <goal>copy-dependencies</goal>
  162. </goals>
  163. <configuration>
  164. <type>jar</type>
  165. <includeTypes>jar</includeTypes>
  166. <includeScope>runtime</includeScope>
  167. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  168. </configuration>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. </plugins>
  173. <!-- </pluginManagement> -->
  174. </build>
  175. </project>