File tree 9 files changed +75
-25
lines changed
src/main/java/com/hrk/customer
9 files changed +75
-25
lines changed Original file line number Diff line number Diff line change 9
9
<version >1.0-SNAPSHOT</version >
10
10
</parent >
11
11
12
+ <packaging >jar</packaging >
12
13
<artifactId >amqp</artifactId >
13
14
14
15
<properties >
15
- <maven .compiler.source>20</maven .compiler.source>
16
- <maven .compiler.target>20</maven .compiler.target>
17
16
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18
17
</properties >
19
18
Original file line number Diff line number Diff line change 9
9
<version >1.0-SNAPSHOT</version >
10
10
</parent >
11
11
12
+ <packaging >jar</packaging >
12
13
<artifactId >apigw</artifactId >
13
14
14
15
<properties >
15
- <maven .compiler.source>20</maven .compiler.source>
16
- <maven .compiler.target>20</maven .compiler.target>
17
16
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18
17
</properties >
19
18
19
+ <build >
20
+ <plugins >
21
+ <plugin >
22
+ <groupId >org.springframework.boot</groupId >
23
+ <artifactId >spring-boot-maven-plugin</artifactId >
24
+ </plugin >
25
+ </plugins >
26
+ </build >
27
+
20
28
<dependencies >
21
29
<dependency >
22
30
<groupId >org.springframework.cloud</groupId >
Original file line number Diff line number Diff line change 9
9
<version >1.0-SNAPSHOT</version >
10
10
</parent >
11
11
12
+ <packaging >jar</packaging >
12
13
<artifactId >clients</artifactId >
13
14
14
15
<properties >
15
- <maven .compiler.source>20</maven .compiler.source>
16
- <maven .compiler.target>20</maven .compiler.target>
17
16
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18
17
</properties >
19
18
Original file line number Diff line number Diff line change 9
9
<version >1.0-SNAPSHOT</version >
10
10
</parent >
11
11
12
+ <packaging >jar</packaging >
12
13
<artifactId >customer</artifactId >
13
14
14
15
<properties >
15
- <maven .compiler.source>20</maven .compiler.source>
16
- <maven .compiler.target>20</maven .compiler.target>
17
16
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18
17
</properties >
19
18
19
+ <build >
20
+ <plugins >
21
+ <plugin >
22
+ <groupId >org.springframework.boot</groupId >
23
+ <artifactId >spring-boot-maven-plugin</artifactId >
24
+ </plugin >
25
+ </plugins >
26
+ </build >
27
+
20
28
<dependencies >
21
29
<dependency >
22
30
<groupId >org.springframework.boot</groupId >
58
66
<groupId >com.hrk</groupId >
59
67
<artifactId >amqp</artifactId >
60
68
<version >1.0-SNAPSHOT</version >
69
+ <scope >compile</scope >
61
70
</dependency >
62
71
63
72
<dependency >
Original file line number Diff line number Diff line change 7
7
import org .springframework .stereotype .Service ;
8
8
9
9
@ Service
10
- public record CustomerService (CustomerRepository repository , FraudClient fraudClient ,
11
- RabbitMQMessageProducer rabbitMQMessageProducer ) {
10
+ public record CustomerService (
11
+ CustomerRepository repository ,
12
+ FraudClient fraudClient ,
13
+ RabbitMQMessageProducer rabbitMQMessageProducer ) {
12
14
public void registerCustomer (CustomerRegistrationRequest request ) {
13
15
Customer customer = Customer .builder ()
14
16
.firstName (request .firstName ())
Original file line number Diff line number Diff line change 9
9
<version >1.0-SNAPSHOT</version >
10
10
</parent >
11
11
12
+ <packaging >jar</packaging >
12
13
<artifactId >eureka-server</artifactId >
13
14
14
15
<properties >
15
- <maven .compiler.source>17</maven .compiler.source>
16
- <maven .compiler.target>17</maven .compiler.target>
17
16
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18
17
</properties >
19
18
19
+ <build >
20
+ <plugins >
21
+ <plugin >
22
+ <groupId >org.springframework.boot</groupId >
23
+ <artifactId >spring-boot-maven-plugin</artifactId >
24
+ </plugin >
25
+ </plugins >
26
+ </build >
27
+
20
28
<dependencies >
21
29
<dependency >
22
30
<groupId >org.springframework.cloud</groupId >
34
42
</dependency >
35
43
</dependencies >
36
44
37
- <build >
38
- <plugins >
39
- <plugin >
40
- <groupId >org.springframework.boot</groupId >
41
- <artifactId >spring-boot-maven-plugin</artifactId >
42
- </plugin >
43
- </plugins >
44
- </build >
45
-
46
45
</project >
Original file line number Diff line number Diff line change 9
9
<version >1.0-SNAPSHOT</version >
10
10
</parent >
11
11
12
+ <packaging >jar</packaging >
12
13
<artifactId >fraud</artifactId >
13
14
14
15
<properties >
15
- <maven .compiler.source>20</maven .compiler.source>
16
- <maven .compiler.target>20</maven .compiler.target>
17
16
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18
17
</properties >
19
18
19
+ <build >
20
+ <plugins >
21
+ <plugin >
22
+ <groupId >org.springframework.boot</groupId >
23
+ <artifactId >spring-boot-maven-plugin</artifactId >
24
+ </plugin >
25
+ </plugins >
26
+ </build >
27
+
20
28
<dependencies >
21
29
<dependency >
22
30
<groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 9
9
<version >1.0-SNAPSHOT</version >
10
10
</parent >
11
11
12
+ <packaging >jar</packaging >
12
13
<artifactId >notification</artifactId >
13
14
14
15
<properties >
15
- <maven .compiler.source>20</maven .compiler.source>
16
- <maven .compiler.target>20</maven .compiler.target>
17
16
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18
17
</properties >
19
18
19
+ <build >
20
+ <plugins >
21
+ <plugin >
22
+ <groupId >org.springframework.boot</groupId >
23
+ <artifactId >spring-boot-maven-plugin</artifactId >
24
+ </plugin >
25
+ </plugins >
26
+ </build >
27
+
20
28
<dependencies >
21
29
<dependency >
22
30
<groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 71
71
<groupId >org.springframework.boot</groupId >
72
72
<artifactId >spring-boot-maven-plugin</artifactId >
73
73
<version >${spring.boot.maven.plugin.version} </version >
74
+ <executions >
75
+ <execution >
76
+ <goals >
77
+ <goal >repackage</goal >
78
+ </goals >
79
+ </execution >
80
+ </executions >
74
81
</plugin >
75
82
</plugins >
76
83
</pluginManagement >
84
+ <plugins >
85
+ <plugin >
86
+ <groupId >org.apache.maven.plugins</groupId >
87
+ <artifactId >maven-compiler-plugin</artifactId >
88
+ <version >3.8.0</version >
89
+ <configuration >
90
+ <source >${maven.compiler.source} </source >
91
+ <target >${maven.compiler.target} </target >
92
+ </configuration >
93
+ </plugin >
94
+ </plugins >
77
95
</build >
78
96
</project >
You can’t perform that action at this time.
0 commit comments