9
9
<version >0.0.2-SNAPSHOT</version >
10
10
</parent >
11
11
12
- <artifactId >snapshots </artifactId >
12
+ <artifactId >serialization-avro </artifactId >
13
13
14
- <name >Snapshotting</name >
15
- <description >Module explaining how to enable Snapshotting for Aggregates</description >
14
+ <name >Serialization Avro</name >
15
+ <description >Module demonstrating usage of Apache Avro as serialization format for messages and events</description >
16
+
17
+ <properties >
18
+ <!-- FIXME: upgrade top level and remove here -->
19
+ <axon .version>4.11.0-SNAPSHOT</axon .version>
20
+ <avro .version>1.12.0</avro .version>
21
+ </properties >
16
22
17
23
<dependencies >
18
24
<!-- Axon -->
25
+ <dependency >
26
+ <groupId >org.axonframework</groupId >
27
+ <artifactId >axon-spring</artifactId >
28
+ <version >${axon.version} </version >
29
+ </dependency >
30
+ <dependency >
31
+ <groupId >org.axonframework</groupId >
32
+ <artifactId >axon-configuration</artifactId >
33
+ <version >${axon.version} </version >
34
+ </dependency >
35
+ <dependency >
36
+ <groupId >org.axonframework</groupId >
37
+ <artifactId >axon-modelling</artifactId >
38
+ <version >${axon.version} </version >
39
+ </dependency >
40
+ <dependency >
41
+ <groupId >org.axonframework</groupId >
42
+ <artifactId >axon-eventsourcing</artifactId >
43
+ <version >${axon.version} </version >
44
+ </dependency >
19
45
<dependency >
20
46
<groupId >org.axonframework</groupId >
21
47
<artifactId >axon-spring-boot-starter</artifactId >
48
+ <version >${axon.version} </version >
49
+ </dependency >
50
+ <dependency >
51
+ <groupId >org.axonframework</groupId >
52
+ <artifactId >axon-server-connector</artifactId >
53
+ <version >${axon.version} </version >
54
+ </dependency >
55
+ <dependency >
56
+ <groupId >org.axonframework</groupId >
57
+ <artifactId >axon-messaging</artifactId >
58
+ <version >${axon.version} </version >
59
+ </dependency >
60
+ <dependency >
61
+ <groupId >org.axonframework</groupId >
62
+ <artifactId >axon-spring-boot-autoconfigure</artifactId >
63
+ <version >${axon.version} </version >
22
64
</dependency >
65
+
66
+ <!-- Apache Avro -->
67
+ <dependency >
68
+ <groupId >org.apache.avro</groupId >
69
+ <artifactId >avro</artifactId >
70
+ <version >${avro.version} </version >
71
+ </dependency >
72
+
73
+ <!-- Jackson -->
74
+ <dependency >
75
+ <groupId >com.fasterxml.jackson.core</groupId >
76
+ <artifactId >jackson-annotations</artifactId >
77
+ </dependency >
78
+ <dependency >
79
+ <groupId >com.fasterxml.jackson.core</groupId >
80
+ <artifactId >jackson-databind</artifactId >
81
+ </dependency >
82
+ <dependency >
83
+ <groupId >com.fasterxml.jackson.datatype</groupId >
84
+ <artifactId >jackson-datatype-jsr310</artifactId >
85
+ </dependency >
86
+ <dependency >
87
+ <groupId >com.fasterxml.jackson.datatype</groupId >
88
+ <artifactId >jackson-datatype-jdk8</artifactId >
89
+ </dependency >
90
+ <dependency >
91
+ <groupId >com.fasterxml.jackson.dataformat</groupId >
92
+ <artifactId >jackson-dataformat-yaml</artifactId >
93
+ </dependency >
94
+ <dependency >
95
+ <groupId >com.fasterxml.jackson.dataformat</groupId >
96
+ <artifactId >jackson-dataformat-cbor</artifactId >
97
+ </dependency >
98
+ <dependency >
99
+ <groupId >com.fasterxml.jackson.module</groupId >
100
+ <artifactId >jackson-module-kotlin</artifactId >
101
+ </dependency >
102
+
103
+
23
104
<!-- Spring -->
24
105
<dependency >
25
106
<groupId >org.springframework.boot</groupId >
26
107
<artifactId >spring-boot-starter-web</artifactId >
27
108
</dependency >
28
109
<dependency >
29
110
<groupId >org.springframework.boot</groupId >
30
- <artifactId >spring-boot-starter-webflux </artifactId >
31
- <scope >test</ scope >
111
+ <artifactId >spring-boot-docker-compose </artifactId >
112
+ <version > ${spring-boot.version} </ version >
32
113
</dependency >
33
114
<!-- Testing -->
34
115
<dependency >
42
123
<scope >test</scope >
43
124
</dependency >
44
125
</dependencies >
126
+
127
+ <build >
128
+ <pluginManagement >
129
+ <plugins >
130
+ <plugin >
131
+ <groupId >org.codehaus.mojo</groupId >
132
+ <artifactId >build-helper-maven-plugin</artifactId >
133
+ <version >3.6.0</version >
134
+ <executions >
135
+ <execution >
136
+ <id >add-source</id >
137
+ <phase >generate-sources</phase >
138
+ <goals >
139
+ <goal >add-source</goal >
140
+ </goals >
141
+ <configuration >
142
+ <sources >
143
+ <source >${project.build.directory} /generated-sources/avro</source >
144
+ </sources >
145
+ </configuration >
146
+ </execution >
147
+ </executions >
148
+ </plugin >
149
+ <plugin >
150
+ <groupId >org.apache.avro</groupId >
151
+ <artifactId >avro-maven-plugin</artifactId >
152
+ <version >${avro.version} </version >
153
+ <executions >
154
+ <execution >
155
+ <id >generate-avro-classes</id >
156
+ <phase >generate-sources</phase >
157
+ <goals >
158
+ <goal >schema</goal >
159
+ </goals >
160
+ <configuration >
161
+ <sourceDirectory >${project.basedir} /src/main/avro/</sourceDirectory >
162
+ <outputDirectory >${project.build.directory} /generated-sources/avro/</outputDirectory >
163
+ <stringType >String</stringType >
164
+ </configuration >
165
+ </execution >
166
+ </executions >
167
+ </plugin >
168
+ </plugins >
169
+ </pluginManagement >
170
+ <plugins >
171
+ <plugin >
172
+ <groupId >org.apache.avro</groupId >
173
+ <artifactId >avro-maven-plugin</artifactId >
174
+ </plugin >
175
+ <plugin >
176
+ <groupId >org.codehaus.mojo</groupId >
177
+ <artifactId >build-helper-maven-plugin</artifactId >
178
+ </plugin >
179
+ </plugins >
180
+ </build >
45
181
</project >
0 commit comments