pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.2.5.RELEASE</version>
  10. <relativePath /> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.chinacreator.migration</groupId>
  13. <artifactId>migration-kafkaconsumer</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <packaging>jar</packaging>
  16. <name>unicom-migration-kafkaconsumer</name>
  17. <description>China Unicom Museum Visit Regist</description>
  18. <properties>
  19. <java.version>1.8</java.version>
  20. <logback.version>1.2.10</logback.version>
  21. <log4j2.version>2.17.1</log4j2.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.kafka</groupId>
  30. <artifactId>spring-kafka</artifactId>
  31. </dependency>
  32. <!-- Junit 5 -->
  33. <dependency>
  34. <groupId>org.junit.jupiter</groupId>
  35. <artifactId>junit-jupiter</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.mybatis.spring.boot</groupId>
  40. <artifactId>mybatis-spring-boot-starter</artifactId>
  41. <version>2.1.2</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>mysql</groupId>
  45. <artifactId>mysql-connector-java</artifactId>
  46. <scope>runtime</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba</groupId>
  50. <artifactId>fastjson</artifactId>
  51. <version>1.2.83</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-devtools</artifactId>
  56. <scope>runtime</scope>
  57. <optional>true</optional>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.github.kevinsawicki</groupId>
  61. <artifactId>http-request</artifactId>
  62. <version>6.0</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-test</artifactId>
  67. <scope>test</scope>
  68. <exclusions>
  69. <exclusion>
  70. <groupId>org.junit.vintage</groupId>
  71. <artifactId>junit-vintage-engine</artifactId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. </dependencies>
  76. <build>
  77. <plugins>
  78. <!-- 打包跳过 test -->
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-surefire-plugin</artifactId>
  82. <configuration>
  83. <skip>true</skip>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-maven-plugin</artifactId>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-compiler-plugin</artifactId>
  93. <configuration>
  94. <source>1.8</source>
  95. <target>1.8</target>
  96. </configuration>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>