pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>slibra</artifactId>
  7. <groupId>com.slibra</groupId>
  8. <version>3.8.6</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>slibra-ntelligent-voice</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional> <!-- 表示依赖不会传递 -->
  22. </dependency>
  23. <!-- swagger3-->
  24. <dependency>
  25. <groupId>io.springfox</groupId>
  26. <artifactId>springfox-boot-starter</artifactId>
  27. </dependency>
  28. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  29. <dependency>
  30. <groupId>io.swagger</groupId>
  31. <artifactId>swagger-models</artifactId>
  32. <version>1.6.2</version>
  33. </dependency>
  34. <!-- Mysql驱动包 -->
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. </dependency>
  39. <!-- 核心模块-->
  40. <dependency>
  41. <groupId>com.slibra</groupId>
  42. <artifactId>slibra-framework</artifactId>
  43. </dependency>
  44. <!-- 定时任务-->
  45. <dependency>
  46. <groupId>com.slibra</groupId>
  47. <artifactId>slibra-quartz</artifactId>
  48. </dependency>
  49. <!-- 代码生成-->
  50. <dependency>
  51. <groupId>com.slibra</groupId>
  52. <artifactId>slibra-generator</artifactId>
  53. </dependency>
  54. <!--<dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-test</artifactId>
  57. <scope>test</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>junit</groupId>
  61. <artifactId>junit</artifactId>
  62. <scope>test</scope>
  63. </dependency>-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-test</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>us.codecraft</groupId>
  71. <artifactId>webmagic-core</artifactId>
  72. <version>0.7.5</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>us.codecraft</groupId>
  76. <artifactId>webmagic-extension</artifactId>
  77. <version>0.7.5</version>
  78. </dependency>
  79. <!-- websocket dependency -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-websocket</artifactId>
  83. <version>2.7.12</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  88. <version>2.7.12</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.google.protobuf</groupId>
  92. <artifactId>protobuf-java</artifactId>
  93. <version>3.11.0</version>
  94. </dependency>
  95. <!-- https://mvnrepository.com/artifact/com.google.api.grpc/proto-google-common-protos -->
  96. <dependency>
  97. <groupId>com.google.api.grpc</groupId>
  98. <artifactId>proto-google-common-protos</artifactId>
  99. <version>2.37.1</version>
  100. </dependency>
  101. <!-- https://mvnrepository.com/artifact/io.grpc/grpc-protobuf -->
  102. <dependency>
  103. <groupId>io.grpc</groupId>
  104. <artifactId>grpc-protobuf</artifactId>
  105. <version>1.62.2</version>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/io.grpc/grpc-stub -->
  108. <dependency>
  109. <groupId>io.grpc</groupId>
  110. <artifactId>grpc-stub</artifactId>
  111. <version>1.62.2</version>
  112. </dependency>
  113. <!-- https://mvnrepository.com/artifact/io.grpc/grpc-netty -->
  114. <dependency>
  115. <groupId>io.grpc</groupId>
  116. <artifactId>grpc-netty</artifactId>
  117. <version>1.62.2</version>
  118. </dependency>
  119. </dependencies>
  120. <build>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-maven-plugin</artifactId>
  125. <version>2.5.15</version>
  126. <configuration>
  127. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  128. </configuration>
  129. <executions>
  130. <execution>
  131. <goals>
  132. <goal>repackage</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-war-plugin</artifactId>
  140. <version>3.1.0</version>
  141. <configuration>
  142. <failOnMissingWebXml>false</failOnMissingWebXml>
  143. <warName>${project.artifactId}</warName>
  144. </configuration>
  145. </plugin>
  146. </plugins>
  147. <finalName>${project.artifactId}</finalName>
  148. </build>
  149. </project>