TMP
[demos/microservices] / validate-user / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>de.trion.kafka.microservices</groupId>
7     <artifactId>order-example</artifactId>
8     <version>04</version>
9   </parent>
10
11   <groupId>de.trion.kafka.microservices</groupId>
12   <artifactId>validate-user</artifactId>
13   <name>User Validation Service</name>
14   <version>04-SNAPSHOT</version>
15
16   <properties>
17     <avro.version>1.9.0</avro.version>
18     <confluent.version>5.3.0</confluent.version>
19     <kafka.version>2.3.0</kafka.version>
20   </properties>
21
22   <dependencies>
23     <dependency>
24       <groupId>org.springframework.boot</groupId>
25       <artifactId>spring-boot-starter-actuator</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>org.springframework.boot</groupId>
29       <artifactId>spring-boot-starter-web</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>org.apache.kafka</groupId>
33       <artifactId>kafka-streams</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>org.apache.avro</groupId>
37       <artifactId>avro</artifactId>
38       <version>${avro.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>io.confluent</groupId>
42       <artifactId>kafka-streams-avro-serde</artifactId>
43       <version>${confluent.version}</version>
44     </dependency>
45   </dependencies>
46
47   <repositories>
48     <repository>
49       <id>confluent</id>
50       <url>https://packages.confluent.io/maven/</url>
51     </repository>
52   </repositories>
53
54   <build>
55     <plugins>
56       <plugin>
57         <groupId>org.springframework.boot</groupId>
58         <artifactId>spring-boot-maven-plugin</artifactId>
59       </plugin>
60       <plugin>
61         <groupId>org.apache.avro</groupId>
62         <artifactId>avro-maven-plugin</artifactId>
63         <version>${avro.version}</version>
64         <executions>
65           <execution>
66             <phase>generate-sources</phase>
67             <goals>
68               <goal>schema</goal>
69             </goals>
70             <configuration>
71               <sourceDirectory>${project.basedir}/</sourceDirectory>
72               <outputDirectory>${project.basedir}/src/main/java/</outputDirectory>
73             </configuration>
74           </execution>
75         </executions>
76       </plugin>
77     </plugins>
78   </build>
79
80 </project>