pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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>simulation-track</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.kafka</groupId>
  23. <artifactId>spring-kafka</artifactId>
  24. <exclusions>
  25. <exclusion>
  26. <artifactId>kafka-clients</artifactId>
  27. <groupId>org.apache.kafka</groupId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.apache.kafka</groupId>
  33. <artifactId>kafka-clients</artifactId>
  34. <version>2.7.1</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>cn.com.taiji</groupId>
  38. <artifactId>es-track-common</artifactId>
  39. <version>1.0-SNAPSHOT</version>
  40. </dependency>
  41. </dependencies>
  42. <build>
  43. <plugins>
  44. <plugin>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-maven-plugin</artifactId>
  47. <version>2.1.1.RELEASE</version>
  48. <configuration>
  49. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  50. <mainClass>cn.com.taiji.SimulationTrackApplication</mainClass>
  51. </configuration>
  52. <executions>
  53. <execution>
  54. <goals>
  55. <goal>repackage</goal>
  56. </goals>
  57. </execution>
  58. </executions>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. </project>