|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 |
|
6 | 6 | <modelVersion>4.0.0</modelVersion> |
7 | | - |
8 | 7 | <parent> |
9 | | - <groupId>com.p2plending</groupId> |
10 | | - <artifactId>fintech-platform</artifactId> |
11 | | - <version>1.0.0-SNAPSHOT</version> |
12 | | - <relativePath>../pom.xml</relativePath> <!-- adjust if needed --> |
| 8 | + <groupId>org.springframework.boot</groupId> |
| 9 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 10 | + <version>3.5.0</version> |
| 11 | + <relativePath/> <!-- lookup parent from repository --> |
13 | 12 | </parent> |
14 | | - |
| 13 | + <groupId>com.p2plending</groupId> |
15 | 14 | <artifactId>loanservice</artifactId> |
16 | 15 | <version>0.0.1-SNAPSHOT</version> |
17 | 16 | <name>loanservice</name> |
18 | | - <description>Loan Service for P2P Lending</description> |
| 17 | + <description>Loan Service</description> |
19 | 18 |
|
20 | 19 | <properties> |
21 | 20 | <java.version>17</java.version> |
22 | 21 | </properties> |
23 | 22 |
|
24 | 23 | <dependencies> |
25 | | - <!-- Spring Boot starters --> |
| 24 | + <!-- Spring Boot Starters --> |
26 | 25 | <dependency> |
27 | 26 | <groupId>org.springframework.boot</groupId> |
28 | | - <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 27 | + <artifactId>spring-boot-starter-web</artifactId> |
29 | 28 | </dependency> |
30 | 29 | <dependency> |
31 | 30 | <groupId>org.springframework.boot</groupId> |
32 | | - <artifactId>spring-boot-starter-security</artifactId> |
| 31 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
33 | 32 | </dependency> |
34 | 33 | <dependency> |
35 | 34 | <groupId>org.springframework.boot</groupId> |
36 | | - <artifactId>spring-boot-starter-validation</artifactId> |
| 35 | + <artifactId>spring-boot-starter-security</artifactId> |
37 | 36 | </dependency> |
38 | 37 | <dependency> |
39 | 38 | <groupId>org.springframework.boot</groupId> |
40 | | - <artifactId>spring-boot-starter-web</artifactId> |
| 39 | + <artifactId>spring-boot-starter-validation</artifactId> |
41 | 40 | </dependency> |
42 | 41 |
|
43 | | - <!-- PostgreSQL driver --> |
| 42 | + <!-- PostgreSQL --> |
44 | 43 | <dependency> |
45 | 44 | <groupId>org.postgresql</groupId> |
46 | 45 | <artifactId>postgresql</artifactId> |
|
54 | 53 | <optional>true</optional> |
55 | 54 | </dependency> |
56 | 55 |
|
57 | | - <!-- JWT --> |
| 56 | + <!-- JSON Web Token --> |
58 | 57 | <dependency> |
59 | 58 | <groupId>io.jsonwebtoken</groupId> |
60 | 59 | <artifactId>jjwt-api</artifactId> |
|
80 | 79 | <version>2.3.0</version> |
81 | 80 | </dependency> |
82 | 81 |
|
83 | | - <!-- Testing --> |
| 82 | + <!-- Test Dependencies --> |
84 | 83 | <dependency> |
85 | 84 | <groupId>org.springframework.boot</groupId> |
86 | 85 | <artifactId>spring-boot-starter-test</artifactId> |
|
95 | 94 |
|
96 | 95 | <build> |
97 | 96 | <plugins> |
98 | | - <!-- Maven Compiler Plugin for Lombok annotation processing --> |
| 97 | + <!-- Compiler Plugin --> |
99 | 98 | <plugin> |
100 | 99 | <groupId>org.apache.maven.plugins</groupId> |
101 | 100 | <artifactId>maven-compiler-plugin</artifactId> |
| 101 | + <version>3.10.1</version> |
102 | 102 | <configuration> |
103 | | - <annotationProcessorPaths> |
104 | | - <path> |
105 | | - <groupId>org.projectlombok</groupId> |
106 | | - <artifactId>lombok</artifactId> |
107 | | - <version>1.18.30</version> |
108 | | - </path> |
109 | | - </annotationProcessorPaths> |
| 103 | + <source>${java.version}</source> |
| 104 | + <target>${java.version}</target> |
| 105 | + <encoding>UTF-8</encoding> |
110 | 106 | </configuration> |
111 | 107 | </plugin> |
112 | 108 |
|
113 | | - <!-- Spring Boot Maven Plugin --> |
| 109 | + <!-- Spring Boot Plugin --> |
114 | 110 | <plugin> |
115 | 111 | <groupId>org.springframework.boot</groupId> |
116 | 112 | <artifactId>spring-boot-maven-plugin</artifactId> |
117 | | - <version>3.5.0</version> |
| 113 | + <version>3.1.6</version> |
118 | 114 | <configuration> |
119 | 115 | <mainClass>com.p2plending.loanservice.LoanserviceApplication</mainClass> |
120 | | - <excludes> |
121 | | - <exclude> |
122 | | - <groupId>org.projectlombok</groupId> |
123 | | - <artifactId>lombok</artifactId> |
124 | | - </exclude> |
125 | | - </excludes> |
126 | 116 | </configuration> |
| 117 | + <executions> |
| 118 | + <execution> |
| 119 | + <goals> |
| 120 | + <goal>repackage</goal> |
| 121 | + </goals> |
| 122 | + </execution> |
| 123 | + </executions> |
127 | 124 | </plugin> |
128 | 125 | </plugins> |
129 | 126 | </build> |
130 | | - |
131 | 127 | </project> |
0 commit comments