|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | -<modelVersion>4.0.0</modelVersion> |
5 | | -<parent> |
6 | | -<groupId>org.springframework.boot</groupId> |
7 | | -<artifactId>spring-boot-starter-parent</artifactId> |
8 | | -<version>2.2.6.RELEASE</version> |
9 | | -<relativePath/> <!-- lookup parent from repository --> |
10 | | -</parent> |
11 | | -<groupId>com.example</groupId> |
12 | | -<artifactId>integrationtestspringkafka</artifactId> |
13 | | -<version>0.0.1-SNAPSHOT</version> |
14 | | -<name>integration-test-spring-kafka-with-embedded-kafka-consumerService-and-producer</name> |
15 | | -<description>Integration Test with spring kafka Embedded Kafka Consumer Producer</description> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>org.springframework.boot</groupId> |
| 7 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | + <version>2.2.6.RELEASE</version> |
| 9 | + <relativePath/> <!-- lookup parent from repository --> |
| 10 | + </parent> |
| 11 | + <groupId>com.example</groupId> |
| 12 | + <artifactId>integrationtestspringkafka</artifactId> |
| 13 | + <version>0.0.1-SNAPSHOT</version> |
| 14 | + <name>integration-test-spring-kafka-with-embedded-kafka-consumerService-and-producer</name> |
| 15 | + <description>Integration Test with spring kafka Embedded Kafka Consumer Producer</description> |
16 | 16 |
|
17 | | -<properties> |
18 | | -<java.version>1.8</java.version> |
19 | | -<spring-kafka.version>2.4.2.RELEASE</spring-kafka.version> |
20 | | -</properties> |
| 17 | + <properties> |
| 18 | + <java.version>11</java.version> |
| 19 | + </properties> |
21 | 20 |
|
22 | | -<dependencies> |
23 | | -<dependency> |
24 | | -<groupId>org.springframework.boot</groupId> |
25 | | -<artifactId>spring-boot-starter</artifactId> |
26 | | -</dependency> |
27 | | -<dependency> |
28 | | - <groupId>com.fasterxml.jackson.core</groupId> |
29 | | - <artifactId>jackson-core</artifactId> |
30 | | - <version>2.10.2</version> |
31 | | -</dependency> |
32 | | -<dependency> |
33 | | - <groupId>com.fasterxml.jackson.core</groupId> |
34 | | - <artifactId>jackson-databind</artifactId> |
35 | | - <version>2.10.2</version> |
36 | | -</dependency> |
37 | | -<dependency> |
38 | | - <groupId>com.fasterxml.jackson.core</groupId> |
39 | | - <artifactId>jackson-annotations</artifactId> |
40 | | - <version>2.10.2</version> |
41 | | -</dependency> |
42 | | -<dependency> |
43 | | -<groupId>org.springframework.kafka</groupId> |
44 | | -<artifactId>spring-kafka</artifactId> |
45 | | -</dependency> |
46 | | -<dependency> |
47 | | -<groupId>org.springframework.boot</groupId> |
48 | | -<artifactId>spring-boot-starter-data-jpa</artifactId> |
49 | | -</dependency> |
50 | | -<dependency> |
51 | | -<groupId>com.h2database</groupId> |
52 | | -<artifactId>h2</artifactId> |
53 | | -<scope>runtime</scope> |
54 | | -<version>1.4.200</version> |
55 | | -</dependency> |
56 | | -<!-- Test --> |
57 | | -<dependency> |
58 | | -<groupId>org.junit.jupiter</groupId> |
59 | | -<artifactId>junit-jupiter-api</artifactId> |
60 | | -<version>5.3.2</version> |
61 | | -<scope>test</scope> |
62 | | -</dependency> |
63 | | -<dependency> |
64 | | -<groupId>org.junit.jupiter</groupId> |
65 | | -<artifactId>junit-jupiter-engine</artifactId> |
66 | | -<version>5.3.2</version> |
67 | | -<scope>test</scope> |
68 | | -</dependency> |
69 | | -<dependency> |
70 | | -<groupId>org.springframework.boot</groupId> |
71 | | -<artifactId>spring-boot-starter-test</artifactId> |
72 | | -<scope>test</scope> |
73 | | -<!--Exclude junit4--> |
74 | | -<exclusions> |
| 21 | + <dependencies> |
| 22 | + <dependency> |
| 23 | + <groupId>org.springframework.boot</groupId> |
| 24 | + <artifactId>spring-boot-starter</artifactId> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 28 | + <artifactId>jackson-core</artifactId> |
| 29 | + <version>2.10.2</version> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 33 | + <artifactId>jackson-databind</artifactId> |
| 34 | + <version>2.10.2</version> |
| 35 | + </dependency> |
| 36 | + <dependency> |
| 37 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 38 | + <artifactId>jackson-annotations</artifactId> |
| 39 | + <version>2.10.2</version> |
| 40 | + </dependency> |
| 41 | + <dependency> |
| 42 | + <groupId>org.springframework.kafka</groupId> |
| 43 | + <artifactId>spring-kafka</artifactId> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>org.springframework.boot</groupId> |
| 47 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>com.h2database</groupId> |
| 51 | + <artifactId>h2</artifactId> |
| 52 | + <scope>runtime</scope> |
| 53 | + <version>1.4.200</version> |
| 54 | + </dependency> |
| 55 | + <!-- Test --> |
| 56 | + <dependency> |
| 57 | + <groupId>org.junit.jupiter</groupId> |
| 58 | + <artifactId>junit-jupiter-api</artifactId> |
| 59 | + <version>5.3.2</version> |
| 60 | + <scope>test</scope> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>org.junit.jupiter</groupId> |
| 64 | + <artifactId>junit-jupiter-engine</artifactId> |
| 65 | + <version>5.3.2</version> |
| 66 | + <scope>test</scope> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.springframework.boot</groupId> |
| 70 | + <artifactId>spring-boot-starter-test</artifactId> |
| 71 | + <scope>test</scope> |
| 72 | + <!--Exclude junit4--> |
| 73 | + <exclusions> |
| 74 | + <exclusion> |
| 75 | + <groupId>junit</groupId> |
| 76 | + <artifactId>junit</artifactId> |
| 77 | + </exclusion> |
75 | 78 | <exclusion> |
76 | | -<groupId>junit</groupId> |
77 | | -<artifactId>junit</artifactId> |
| 79 | +<groupId>org.junit.vintage</groupId> |
| 80 | +<artifactId>junit-vintage-engine</artifactId> |
78 | 81 | </exclusion> |
79 | | -</exclusions> |
80 | | -</dependency> |
81 | | -<dependency> |
82 | | -<groupId>org.springframework.kafka</groupId> |
83 | | -<artifactId>spring-kafka-test</artifactId> |
84 | | -<scope>test</scope> |
85 | | -</dependency> |
86 | | -<dependency> |
87 | | -<groupId>org.awaitility</groupId> |
88 | | -<artifactId>awaitility</artifactId> |
89 | | -<version>4.0.2</version> |
90 | | -<scope>test</scope> |
91 | | -</dependency> |
92 | | -</dependencies> |
| 82 | + </exclusions> |
| 83 | + </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>org.springframework.kafka</groupId> |
| 86 | + <artifactId>spring-kafka-test</artifactId> |
| 87 | + <scope>test</scope> |
| 88 | + </dependency> |
| 89 | + <dependency> |
| 90 | + <groupId>org.awaitility</groupId> |
| 91 | + <artifactId>awaitility</artifactId> |
| 92 | + <version>4.0.2</version> |
| 93 | + <scope>test</scope> |
| 94 | + </dependency> |
| 95 | + </dependencies> |
93 | 96 |
|
94 | | -<build> |
95 | | -<plugins> |
96 | | -<plugin> |
97 | | -<groupId>org.springframework.boot</groupId> |
98 | | -<artifactId>spring-boot-maven-plugin</artifactId> |
99 | | -</plugin> |
100 | | -<plugin> |
101 | | -<groupId>org.apache.maven.plugins</groupId> |
102 | | -<artifactId>maven-surefire-plugin</artifactId> |
103 | | -<version>2.22.2</version> |
104 | | -</plugin> |
105 | | -</plugins> |
106 | | -</build> |
| 97 | + <build> |
| 98 | + <plugins> |
| 99 | + <plugin> |
| 100 | + <groupId>org.springframework.boot</groupId> |
| 101 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-surefire-plugin</artifactId> |
| 106 | + <version>2.22.2</version> |
| 107 | + </plugin> |
| 108 | + </plugins> |
| 109 | + </build> |
107 | 110 |
|
108 | 111 | </project> |
0 commit comments