pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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>es-track-analysis</artifactId>
  7. <groupId>cn.com.taiji</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>fusion-analysis</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <elasticsearch.version>7.16.2</elasticsearch.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. <version>2.7.6</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>cn.com.taiji</groupId>
  25. <artifactId>es-track-common</artifactId>
  26. <version>1.0-SNAPSHOT</version>
  27. </dependency>
  28. <!-- es -->
  29. <dependency>
  30. <groupId>org.elasticsearch</groupId>
  31. <artifactId>elasticsearch</artifactId>
  32. <version>${elasticsearch.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.elasticsearch.client</groupId>
  36. <artifactId>elasticsearch-rest-client</artifactId>
  37. <version>${elasticsearch.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.elasticsearch.client</groupId>
  41. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  42. <version>${elasticsearch.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.fasterxml.jackson.core</groupId>
  46. <artifactId>jackson-core</artifactId>
  47. <version>2.14.2</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.fasterxml.jackson.core</groupId>
  51. <artifactId>jackson-databind</artifactId>
  52. <version>2.14.2</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.projectlombok</groupId>
  56. <artifactId>lombok</artifactId>
  57. <version>1.16.18</version>
  58. <optional>true</optional>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>fastjson</artifactId>
  63. <version>1.2.60</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.alibaba</groupId>
  67. <artifactId>easyexcel</artifactId>
  68. <version>2.2.8</version>
  69. </dependency>
  70. </dependencies>
  71. <build>
  72. <plugins>
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. <version>2.1.1.RELEASE</version>
  77. <configuration>
  78. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  79. </configuration>
  80. <executions>
  81. <execution>
  82. <goals>
  83. <goal>repackage</goal>
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-war-plugin</artifactId>
  91. <version>3.1.0</version>
  92. <configuration>
  93. <failOnMissingWebXml>false</failOnMissingWebXml>
  94. <warName>${project.artifactId}</warName>
  95. </configuration>
  96. </plugin>
  97. </plugins>
  98. <finalName>${project.artifactId}</finalName>
  99. </build>
  100. </project>