pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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-kafkaproducer</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <packaging>jar</packaging>
  16. <name>unicom-migration-kafkaproducer</name>
  17. <description>China Unicom Museum Visit Regist</description>
  18. <properties>
  19. <java.version>1.8</java.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <!-- 缓存配置文件 -->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-cache</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.github.ben-manes.caffeine</groupId>
  37. <artifactId>caffeine</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.mybatis.spring.boot</groupId>
  41. <artifactId>mybatis-spring-boot-starter</artifactId>
  42. <version>2.1.2</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>mysql</groupId>
  46. <artifactId>mysql-connector-java</artifactId>
  47. <scope>runtime</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>fastjson</artifactId>
  52. <version>1.2.68</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.kafka</groupId>
  56. <artifactId>spring-kafka</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>commons-codec</groupId>
  60. <artifactId>commons-codec</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <!-- Junit 5 -->
  68. <dependency>
  69. <groupId>org.junit.jupiter</groupId>
  70. <artifactId>junit-jupiter</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-devtools</artifactId>
  76. <scope>runtime</scope>
  77. <optional>true</optional>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-test</artifactId>
  82. <scope>test</scope>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>org.junit.vintage</groupId>
  86. <artifactId>junit-vintage-engine</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. </dependencies>
  91. <build>
  92. <plugins>
  93. <!-- 打包跳过 test -->
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-surefire-plugin</artifactId>
  97. <configuration>
  98. <skip>true</skip>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-maven-plugin</artifactId>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-compiler-plugin</artifactId>
  108. <configuration>
  109. <source>1.8</source>
  110. <target>1.8</target>
  111. </configuration>
  112. </plugin>
  113. </plugins>
  114. </build>
  115. </project>