8
8
<properties >
9
9
<maven .compiler.source>8</maven .compiler.source>
10
10
<maven .compiler.target>8</maven .compiler.target>
11
- <idaithalam .version>1.6.4 </idaithalam .version>
11
+ <idaithalam .version>1.7.0 </idaithalam .version>
12
12
<testng .ver>7.4.0</testng .ver>
13
+ <avro .version>1.9.2</avro .version>
13
14
</properties >
14
15
<description >
15
16
This project demonstrate Idaithalam can be integrated with REST API and Kafka message validation.
50
51
<url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
51
52
</repository >
52
53
</distributionManagement >
53
-
54
+ <repositories >
55
+ <repository >
56
+ <id >confluent</id >
57
+ <url >https://packages.confluent.io/maven/</url >
58
+ </repository >
59
+ <repository >
60
+ <id >central</id >
61
+ <name >Central Repository</name >
62
+ <url >https://repo.maven.apache.org/maven2</url >
63
+ </repository >
64
+ </repositories >
54
65
<build >
55
66
<sourceDirectory >src/main/java</sourceDirectory >
56
67
<extensions >
68
79
<version >3.8.1</version >
69
80
<configuration >
70
81
<encoding >UTF-8</encoding >
71
- <source >1.8 </source >
72
- <target >1.8 </target >
82
+ <source >11 </source >
83
+ <target >11 </target >
73
84
</configuration >
74
85
</plugin >
75
86
<plugin >
125
136
</execution >
126
137
</executions >
127
138
</plugin >
139
+ <plugin >
140
+ <groupId >org.apache.avro</groupId >
141
+ <artifactId >avro-maven-plugin</artifactId >
142
+ <version >1.9.1</version >
143
+ <executions >
144
+ <execution >
145
+ <phase >generate-sources</phase >
146
+ <goals >
147
+ <goal >schema</goal >
148
+ </goals >
149
+ <configuration >
150
+ <sourceDirectory >src/main/resources/avro</sourceDirectory > <!-- 5-->
151
+ <outputDirectory >${project.build.directory} /generated-sources</outputDirectory >
152
+ <stringType >String</stringType >
153
+ </configuration >
154
+ </execution >
155
+ </executions >
156
+ </plugin >
128
157
</plugins >
129
158
</build >
130
159
<dependencies >
140
169
<artifactId >testng</artifactId >
141
170
<version >${testng.ver} </version >
142
171
</dependency >
143
-
144
-
172
+ <dependency >
173
+ <groupId >org.apache.avro</groupId >
174
+ <artifactId >avro</artifactId >
175
+ <version >${avro.version} </version >
176
+ </dependency >
177
+ <dependency >
178
+ <groupId >io.confluent</groupId >
179
+ <artifactId >kafka-avro-serializer</artifactId >
180
+ <version >7.1.1</version >
181
+ </dependency >
182
+ <dependency >
183
+ <groupId >com.fasterxml.jackson.core</groupId >
184
+ <artifactId >jackson-core</artifactId >
185
+ <version >2.13.1</version >
186
+ </dependency >
145
187
</dependencies >
146
188
</project >
0 commit comments