1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ ~ Copyright (c) 2010-2024. Axon Framework
4
+ ~
5
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
6
+ ~ you may not use this file except in compliance with the License.
7
+ ~ You may obtain a copy of the License at
8
+ ~
9
+ ~ http://www.apache.org/licenses/LICENSE-2.0
10
+ ~
11
+ ~ Unless required by applicable law or agreed to in writing, software
12
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
13
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ ~ See the License for the specific language governing permissions and
15
+ ~ limitations under the License.
16
+ -->
17
+
18
+ <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" >
19
+ <parent >
20
+ <artifactId >axon-amqp-parent</artifactId >
21
+ <groupId >org.axonframework.extensions.amqp</groupId >
22
+ <version >4.11.0-SNAPSHOT</version >
23
+ </parent >
24
+ <modelVersion >4.0.0</modelVersion >
25
+
26
+ <artifactId >amqp-axon-example</artifactId >
27
+ <version >4.11.0-SNAPSHOT</version >
28
+
29
+ <name >Axon Framework AMQP Extension - Spring Boot Example</name >
30
+ <description >Example module for the AMQP Extension of Axon Framework</description >
31
+
32
+ <properties >
33
+ <kotlin .version>1.9.21</kotlin .version>
34
+ <kotlin-logging-jvm .version>3.0.5</kotlin-logging-jvm .version>
35
+ <spring .boot.version>2.7.18</spring .boot.version>
36
+ </properties >
37
+
38
+ <dependencies >
39
+ <dependency >
40
+ <groupId >org.springframework.boot</groupId >
41
+ <artifactId >spring-boot-starter</artifactId >
42
+ <version >${spring.boot.version}</version >
43
+ </dependency >
44
+ <dependency >
45
+ <groupId >org.springframework.boot</groupId >
46
+ <artifactId >spring-boot-starter-amqp</artifactId >
47
+ <version >${spring.boot.version}</version >
48
+ </dependency >
49
+ <dependency >
50
+ <groupId >org.axonframework</groupId >
51
+ <artifactId >axon-spring-boot-starter</artifactId >
52
+ <version >${axon.version}</version >
53
+ <exclusions >
54
+ <exclusion >
55
+ <groupId >org.axonframework</groupId >
56
+ <artifactId >axon-server-connector</artifactId >
57
+ </exclusion >
58
+ </exclusions >
59
+ </dependency >
60
+ <dependency >
61
+ <groupId >org.axonframework.extensions.amqp</groupId >
62
+ <artifactId >axon-amqp-spring-boot-starter</artifactId >
63
+ <version >${project.version}</version >
64
+ </dependency >
65
+ <dependency >
66
+ <groupId >org.jetbrains.kotlin</groupId >
67
+ <artifactId >kotlin-stdlib</artifactId >
68
+ <version >${kotlin.version}</version >
69
+ </dependency >
70
+ <dependency >
71
+ <groupId >org.jetbrains.kotlin</groupId >
72
+ <artifactId >kotlin-stdlib-jdk8</artifactId >
73
+ <version >${kotlin.version}</version >
74
+ </dependency >
75
+ <dependency >
76
+ <groupId >io.github.microutils</groupId >
77
+ <artifactId >kotlin-logging-jvm</artifactId >
78
+ <version >${kotlin-logging-jvm.version}</version >
79
+ <exclusions >
80
+ <exclusion >
81
+ <groupId >org.jetbrains.kotlin</groupId >
82
+ <artifactId >kotlin-stdlib</artifactId >
83
+ </exclusion >
84
+ </exclusions >
85
+ </dependency >
86
+ </dependencies >
87
+
88
+ <build >
89
+ <plugins >
90
+ <plugin >
91
+ <groupId >org.springframework.boot</groupId >
92
+ <artifactId >spring-boot-maven-plugin</artifactId >
93
+ <version >${spring.boot.version}</version >
94
+ <configuration >
95
+ <finalName >${project.artifactId}</finalName >
96
+ </configuration >
97
+ <executions >
98
+ <execution >
99
+ <goals >
100
+ <goal >repackage</goal >
101
+ </goals >
102
+ </execution >
103
+ </executions >
104
+ </plugin >
105
+ <plugin >
106
+ <groupId >org.jetbrains.kotlin</groupId >
107
+ <artifactId >kotlin-maven-plugin</artifactId >
108
+ <version >${kotlin.version}</version >
109
+ <configuration >
110
+ <jvmTarget >1.8</jvmTarget >
111
+ <args >
112
+ <arg >-Xjsr305=strict</arg >
113
+ </args >
114
+ <compilerPlugins >
115
+ <plugin >spring</plugin >
116
+ <plugin >no-arg</plugin >
117
+ <plugin >all-open</plugin >
118
+ </compilerPlugins >
119
+ </configuration >
120
+ <executions >
121
+ <execution >
122
+ <id >compile</id >
123
+ <phase >compile</phase >
124
+ <goals >
125
+ <goal >compile</goal >
126
+ </goals >
127
+ <configuration >
128
+ <sourceDirs >
129
+ <sourceDir >${project.basedir}/src/main/kotlin</sourceDir >
130
+ </sourceDirs >
131
+ </configuration >
132
+ </execution >
133
+ <execution >
134
+ <id >test-compile</id >
135
+ <phase >test-compile</phase >
136
+ <goals >
137
+ <goal >test-compile</goal >
138
+ </goals >
139
+ <configuration >
140
+ <sourceDirs >
141
+ <sourceDir >${project.basedir}/src/test/kotlin</sourceDir >
142
+ </sourceDirs >
143
+ </configuration >
144
+ </execution >
145
+ </executions >
146
+ <dependencies >
147
+ <dependency >
148
+ <groupId >org.jetbrains.kotlin</groupId >
149
+ <artifactId >kotlin-maven-allopen</artifactId >
150
+ <version >${kotlin.version}</version >
151
+ </dependency >
152
+ <dependency >
153
+ <groupId >org.jetbrains.kotlin</groupId >
154
+ <artifactId >kotlin-maven-noarg</artifactId >
155
+ <version >${kotlin.version}</version >
156
+ </dependency >
157
+ </dependencies >
158
+ </plugin >
159
+ <plugin >
160
+ <groupId >org.apache.maven.plugins</groupId >
161
+ <artifactId >maven-deploy-plugin</artifactId >
162
+ <version >${maven-deploy.version}</version >
163
+ <configuration >
164
+ <skip >true</skip >
165
+ </configuration >
166
+ </plugin >
167
+ </plugins >
168
+ </build >
169
+
170
+ </project >
0 commit comments