pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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>fk-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. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>easyexcel</artifactId>
  73. <version>3.0.3</version>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.alibaba</groupId>
  78. <artifactId>easyexcel</artifactId>
  79. <version>3.0.3</version>
  80. <scope>compile</scope>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. <version>2.1.1.RELEASE</version>
  89. <configuration>
  90. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  91. </configuration>
  92. <executions>
  93. <execution>
  94. <goals>
  95. <goal>repackage</goal>
  96. </goals>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-war-plugin</artifactId>
  103. <version>3.1.0</version>
  104. <configuration>
  105. <failOnMissingWebXml>false</failOnMissingWebXml>
  106. <warName>${project.artifactId}</warName>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. <finalName>${project.artifactId}</finalName>
  111. </build>
  112. </project>