Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
73 lines (66 loc) · 2.49 KB
/
Copy pathpom.xml
File metadata and controls
73 lines (66 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<!--
This is the PARENT pom. Think of it as the
headquarters that manages all services.
Every service inherits from this parent.
-->
<groupId>com.ajopay</groupId>
<artifactId>ajopay</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>AjoPay - Payment System</name>
<description>Modern Nigerian Payment System</description>
<!--
We inherit from Spring Boot's parent pom.
This gives us all Spring Boot dependency
management for free — no need to specify
versions for most Spring libraries.
-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.3</version>
<relativePath/>
</parent>
<!--
These are all our services (modules).
Maven knows they all belong to AjoPay.
We will add them one by one as we build them.
-->
<modules>
<module>api-gateway</module>
<module>user-service</module>
<module>wallet-service</module>
<module>transaction-service</module>
<module>notification-service</module>
<module>audit-service</module>
</modules>
<properties>
<java.version>21</java.version>
<spring-cloud.version>2023.0.0</spring-cloud.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!--
dependencyManagement means we define versions here
ONCE at the parent level. Child modules just declare
the dependency without worrying about the version.
This prevents version conflicts across services.
-->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>