Skip to content

Commit cf56b33

Browse files
committed
BAEL-2435 Update pom file
-Add description -Change parent to parent-boot-2 to leverage a spring boot start up approach -Replace core dependency for axon-spring-boot-autoconfigure excluding axon-server as we cant start that up for this use case -Add spring-boot-autoconfigure dependency -Adjust the axon version to 4.0.3
1 parent f0d27bc commit cf56b33

1 file changed

Lines changed: 23 additions & 7 deletions

File tree

‎axon/pom.xml‎

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,45 @@
44
<modelVersion>4.0.0</modelVersion>
55
<artifactId>axon</artifactId>
66
<name>axon</name>
7-
7+
<description>Basic Axon Framework with Spring Boot configuration tutorial</description>
8+
89
<parent>
9-
<artifactId>parent-modules</artifactId>
1010
<groupId>com.baeldung</groupId>
11-
<version>1.0.0-SNAPSHOT</version>
11+
<artifactId>parent-boot-2</artifactId>
12+
<version>0.0.1-SNAPSHOT</version>
13+
<relativePath>../parent-boot-2</relativePath>
1214
</parent>
1315

1416
<dependencies>
1517
<dependency>
1618
<groupId>org.axonframework</groupId>
17-
<artifactId>axon-test</artifactId>
19+
<artifactId>axon-spring-boot-autoconfigure</artifactId>
1820
<version>${axon.version}</version>
19-
<scope>test</scope>
21+
<exclusions>
22+
<exclusion>
23+
<groupId>org.axonframework</groupId>
24+
<artifactId>axon-server-connector</artifactId>
25+
</exclusion>
26+
</exclusions>
2027
</dependency>
28+
2129
<dependency>
2230
<groupId>org.axonframework</groupId>
23-
<artifactId>axon-core</artifactId>
31+
<artifactId>axon-test</artifactId>
2432
<version>${axon.version}</version>
33+
<scope>test</scope>
34+
</dependency>
35+
36+
<dependency>
37+
<groupId>org.springframework.boot</groupId>
38+
<artifactId>spring-boot-autoconfigure</artifactId>
39+
<version>2.1.1.RELEASE</version>
40+
<scope>compile</scope>
2541
</dependency>
2642
</dependencies>
2743

2844
<properties>
29-
<axon.version>3.0.2</axon.version>
45+
<axon.version>4.0.3</axon.version>
3046
</properties>
3147

3248
</project>

0 commit comments

Comments
 (0)