1
1
<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
- xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
- <modelVersion >4.0.0</modelVersion >
4
- <parent >
5
- <groupId >pl.piomin</groupId >
6
- <artifactId >sample-spring-microservices-advanced</artifactId >
7
- <version >1.0-SNAPSHOT</version >
8
- </parent >
9
- <artifactId >account-service</artifactId >
2
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <parent >
5
+ <groupId >pl.piomin</groupId >
6
+ <artifactId >sample-spring-microservices-advanced</artifactId >
7
+ <version >1.0-SNAPSHOT</version >
8
+ </parent >
9
+ <artifactId >account-service</artifactId >
10
10
11
- <dependencies >
12
- <dependency >
13
- <groupId >org.springframework.cloud</groupId >
14
- <artifactId >spring-cloud-starter-eureka</artifactId >
15
- </dependency >
16
- <dependency >
17
- <groupId >org.springframework.cloud</groupId >
18
- <artifactId >spring-cloud-starter-sleuth</artifactId >
19
- </dependency >
20
- <dependency >
21
- <groupId >org.springframework.boot</groupId >
22
- <artifactId >spring-boot-starter-data-mongodb</artifactId >
23
- </dependency >
24
- <dependency >
25
- <groupId >io.springfox</groupId >
26
- <artifactId >springfox-swagger2</artifactId >
27
- <version >2.6.1</version >
28
- </dependency >
29
- <dependency >
30
- <groupId >io.springfox</groupId >
31
- <artifactId >springfox-swagger-ui</artifactId >
32
- <version >2.6.1</version >
33
- </dependency >
34
- <dependency >
35
- <groupId >org.apache.maven</groupId >
36
- <artifactId >maven-model</artifactId >
37
- <version >3.3.9</version >
38
- </dependency >
39
- <dependency >
40
- <groupId >org.springframework.boot</groupId >
41
- <artifactId >spring-boot-starter-test</artifactId >
42
- <scope >test</scope >
43
- </dependency >
44
- <dependency >
45
- <groupId >org.springframework.boot</groupId >
46
- <artifactId >spring-boot-test-autoconfigure</artifactId >
47
- <scope >test</scope >
48
- </dependency >
49
- <dependency >
50
- <groupId >org.springframework.cloud</groupId >
51
- <artifactId >spring-cloud-starter-contract-stub-runner</artifactId >
52
- <scope >test</scope >
53
- </dependency >
54
- <dependency >
55
- <groupId >org.springframework.cloud</groupId >
56
- <artifactId >spring-cloud-starter-contract-verifier</artifactId >
57
- <scope >test</scope >
58
- </dependency >
59
- <dependency >
60
- <groupId >de.flapdoodle.embed</groupId >
61
- <artifactId >de.flapdoodle.embed.mongo</artifactId >
62
- <scope >test</scope >
63
- </dependency >
64
- </dependencies >
11
+ <properties >
12
+ <sonar .moduleKey>${project.artifactId} </sonar .moduleKey>
13
+ </properties >
65
14
66
- <build >
67
- <finalName >account-service</finalName >
68
- <plugins >
69
- <plugin >
70
- <groupId >org.springframework.boot</groupId >
71
- <artifactId >spring-boot-maven-plugin</artifactId >
72
- <configuration >
73
- <mainClass >pl.piomin.microservices.advanced.account.Application</mainClass >
74
- <addResources >true</addResources >
75
- </configuration >
76
- <executions >
77
- <execution >
78
- <goals >
79
- <goal >repackage</goal >
80
- </goals >
81
- </execution >
82
- </executions >
83
- </plugin >
84
- </plugins >
85
- </build >
15
+ <dependencies >
16
+ <dependency >
17
+ <groupId >org.springframework.cloud</groupId >
18
+ <artifactId >spring-cloud-starter-eureka</artifactId >
19
+ </dependency >
20
+ <dependency >
21
+ <groupId >org.springframework.cloud</groupId >
22
+ <artifactId >spring-cloud-starter-sleuth</artifactId >
23
+ </dependency >
24
+ <dependency >
25
+ <groupId >org.springframework.boot</groupId >
26
+ <artifactId >spring-boot-starter-data-mongodb</artifactId >
27
+ </dependency >
28
+ <dependency >
29
+ <groupId >io.springfox</groupId >
30
+ <artifactId >springfox-swagger2</artifactId >
31
+ <version >2.6.1</version >
32
+ </dependency >
33
+ <dependency >
34
+ <groupId >io.springfox</groupId >
35
+ <artifactId >springfox-swagger-ui</artifactId >
36
+ <version >2.6.1</version >
37
+ </dependency >
38
+ <dependency >
39
+ <groupId >org.apache.maven</groupId >
40
+ <artifactId >maven-model</artifactId >
41
+ <version >3.3.9</version >
42
+ </dependency >
43
+ <dependency >
44
+ <groupId >org.springframework.boot</groupId >
45
+ <artifactId >spring-boot-starter-test</artifactId >
46
+ <scope >test</scope >
47
+ </dependency >
48
+ <!-- <dependency>-->
49
+ <!-- <groupId>org.springframework.boot</groupId>-->
50
+ <!-- <artifactId>spring-boot-test-autoconfigure</artifactId>-->
51
+ <!-- <scope>test</scope>-->
52
+ <!-- </dependency>-->
53
+ <!-- <dependency>-->
54
+ <!-- <groupId>org.springframework.cloud</groupId>-->
55
+ <!-- <artifactId>spring-cloud-starter-contract-stub-runner</artifactId>-->
56
+ <!-- <scope>test</scope>-->
57
+ <!-- </dependency>-->
58
+ <!-- <dependency>-->
59
+ <!-- <groupId>org.springframework.cloud</groupId>-->
60
+ <!-- <artifactId>spring-cloud-starter-contract-verifier</artifactId>-->
61
+ <!-- <scope>test</scope>-->
62
+ <!-- </dependency>-->
63
+ <dependency >
64
+ <groupId >de.flapdoodle.embed</groupId >
65
+ <artifactId >de.flapdoodle.embed.mongo</artifactId >
66
+ <scope >test</scope >
67
+ </dependency >
68
+ </dependencies >
69
+
70
+ <build >
71
+ <finalName >account-service</finalName >
72
+ <plugins >
73
+ <plugin >
74
+ <groupId >org.springframework.boot</groupId >
75
+ <artifactId >spring-boot-maven-plugin</artifactId >
76
+ <configuration >
77
+ <mainClass >pl.piomin.microservices.advanced.account.Application</mainClass >
78
+ <addResources >true</addResources >
79
+ </configuration >
80
+ <executions >
81
+ <execution >
82
+ <goals >
83
+ <goal >repackage</goal >
84
+ </goals >
85
+ </execution >
86
+ </executions >
87
+ </plugin >
88
+ </plugins >
89
+ </build >
86
90
87
91
</project >
0 commit comments