pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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>gm-ser-phm</artifactId>
  7. <groupId>com.goomood</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>gm-base-ser</artifactId>
  13. <description>
  14. web服务入口--base/项目名--
  15. </description>
  16. <dependencies>
  17. <!-- &lt;!&ndash; spring-boot-devtools &ndash;&gt;-->
  18. <!-- <dependency>-->
  19. <!-- <groupId>org.springframework.boot</groupId>-->
  20. <!-- <artifactId>spring-boot-devtools</artifactId>-->
  21. <!-- <optional>true</optional> &lt;!&ndash; 表示依赖不会传递 &ndash;&gt;-->
  22. <!-- </dependency>-->
  23. <dependency>
  24. <groupId>com.baomidou</groupId>
  25. <artifactId>mybatis-plus-boot-starter</artifactId>
  26. </dependency>
  27. <!-- swagger3-->
  28. <dependency>
  29. <groupId>io.springfox</groupId>
  30. <artifactId>springfox-boot-starter</artifactId>
  31. </dependency>
  32. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  33. <dependency>
  34. <groupId>io.swagger</groupId>
  35. <artifactId>swagger-models</artifactId>
  36. <version>1.6.2</version>
  37. </dependency>
  38. <!-- Mysql驱动包 -->
  39. <dependency>
  40. <groupId>mysql</groupId>
  41. <artifactId>mysql-connector-java</artifactId>
  42. </dependency>
  43. <!-- 核心模块-->
  44. <dependency>
  45. <groupId>com.goomood</groupId>
  46. <artifactId>gm-framework</artifactId>
  47. </dependency>
  48. <!-- WebClient -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-webflux</artifactId>
  52. </dependency>
  53. <!-- 定时任务-->
  54. <dependency>
  55. <groupId>com.goomood</groupId>
  56. <artifactId>gm-quartz</artifactId>
  57. </dependency>
  58. <!-- 代码生成-->
  59. <dependency>
  60. <groupId>com.goomood</groupId>
  61. <artifactId>gm-generator</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.elasticsearch.client</groupId>
  65. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  66. <version>${elasticsearch.version}</version>
  67. <exclusions>
  68. <exclusion>
  69. <groupId>org.elasticsearch</groupId>
  70. <artifactId>elasticsearch</artifactId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.elasticsearch</groupId>
  76. <artifactId>elasticsearch</artifactId>
  77. <version>${elasticsearch.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.tika</groupId>
  81. <artifactId>tika-core</artifactId>
  82. <version>1.28.5</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.tika</groupId>
  86. <artifactId>tika-parsers</artifactId>
  87. <version>1.28.5</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.goomood</groupId>
  91. <artifactId>gm-common</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.projectlombok</groupId>
  95. <artifactId>lombok</artifactId>
  96. <scope>provided</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.baomidou</groupId>
  100. <artifactId>mybatis-plus-core</artifactId>
  101. <version>3.5.12</version>
  102. <scope>compile</scope>
  103. </dependency>
  104. </dependencies>
  105. <build>
  106. <plugins>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-resources-plugin</artifactId>
  110. <configuration>
  111. <encoding>UTF-8</encoding>
  112. <nonFilteredFileExtensions>
  113. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  114. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  115. </nonFilteredFileExtensions>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-maven-plugin</artifactId>
  121. <version>2.5.15</version>
  122. <configuration>
  123. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  124. </configuration>
  125. <executions>
  126. <execution>
  127. <goals>
  128. <goal>repackage</goal>
  129. </goals>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-war-plugin</artifactId>
  136. <version>3.1.0</version>
  137. <configuration>
  138. <failOnMissingWebXml>false</failOnMissingWebXml>
  139. <warName>${project.artifactId}</warName>
  140. </configuration>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-compiler-plugin</artifactId>
  145. <configuration>
  146. <source>9</source>
  147. <target>9</target>
  148. </configuration>
  149. </plugin>
  150. </plugins>
  151. <finalName>${project.artifactId}</finalName>
  152. </build>
  153. </project>