Skip to content

Commit cfc7687

Browse files
committed
feat: add jacoco for test coverage
1 parent c450609 commit cfc7687

File tree

1 file changed

+4
-29
lines changed

1 file changed

+4
-29
lines changed

identity-service/pom.xml

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,10 @@
1818
</properties>
1919

2020
<dependencies>
21-
<!-- <dependency>-->
22-
<!-- <groupId>org.springframework.boot</groupId>-->
23-
<!-- <artifactId>spring-boot-starter-data-jpa</artifactId>-->
24-
<!-- </dependency>-->
25-
2621
<dependency>
2722
<groupId>org.springframework.boot</groupId>
2823
<artifactId>spring-boot-starter-web</artifactId>
2924
</dependency>
30-
31-
<!--&lt;!&ndash; api gateway&ndash;&gt;-->
32-
<!-- <dependency>-->
33-
<!-- <groupId>org.springframework.boot</groupId>-->
34-
<!-- <artifactId>spring-boot-starter-webflux</artifactId>-->
35-
<!-- </dependency>-->
36-
3725
<dependency>
3826
<groupId>org.springframework.boot</groupId>
3927
<artifactId>spring-boot-devtools</artifactId>
@@ -55,26 +43,15 @@
5543
<artifactId>spring-boot-starter-test</artifactId>
5644
<scope>test</scope>
5745
</dependency>
58-
<!-- <dependency>-->
59-
<!-- <groupId>org.springframework.boot</groupId>-->
60-
<!-- <artifactId>spring-boot-starter-security</artifactId>-->
61-
<!-- </dependency>-->
62-
<!-- <dependency>-->
63-
<!-- <groupId>org.springframework.security</groupId>-->
64-
<!-- <artifactId>spring-security-test</artifactId>-->
65-
<!-- <scope>test</scope>-->
66-
<!-- </dependency>-->
6746
<dependency>
6847
<groupId>org.springframework.boot</groupId>
6948
<artifactId>spring-boot-starter-oauth2-client</artifactId>
7049
</dependency>
71-
7250
<dependency>
7351
<groupId>io.github.cdimascio</groupId>
7452
<artifactId>dotenv-java</artifactId>
7553
<version>3.0.0</version>
7654
</dependency>
77-
7855
<dependency>
7956
<groupId>jakarta.platform</groupId>
8057
<artifactId>jakarta.jakartaee-api</artifactId>
@@ -85,36 +62,30 @@
8562
<groupId>org.springframework.boot</groupId>
8663
<artifactId>spring-boot-starter-data-jpa</artifactId>
8764
</dependency>
88-
8965
<dependency>
9066
<groupId>com.blubin</groupId>
9167
<artifactId>common-service</artifactId>
9268
<version>1.0-SNAPSHOT</version>
9369
<scope>compile</scope>
9470
</dependency>
95-
9671
<dependency>
9772
<groupId>com.blubin</groupId>
9873
<artifactId>protobuf</artifactId>
9974
<version>1.0-SNAPSHOT</version>
10075
<scope>compile</scope>
10176
</dependency>
102-
10377
<dependency>
10478
<groupId>net.devh</groupId>
10579
<artifactId>grpc-spring-boot-starter</artifactId>
10680
</dependency>
107-
10881
<dependency>
10982
<groupId>com.google.protobuf</groupId>
11083
<artifactId>protobuf-java</artifactId>
11184
</dependency>
112-
11385
<dependency>
11486
<groupId>io.grpc</groupId>
11587
<artifactId>grpc-stub</artifactId>
11688
</dependency>
117-
11889
<dependency>
11990
<groupId>io.grpc</groupId>
12091
<artifactId>grpc-protobuf</artifactId>
@@ -149,6 +120,10 @@
149120
<artifactId>maven-surefire-plugin</artifactId>
150121
<version>3.0.0-M9</version>
151122
</plugin>
123+
<plugin>
124+
<groupId>org.jacoco</groupId>
125+
<artifactId>jacoco-maven-plugin</artifactId>
126+
</plugin>
152127
</plugins>
153128
</build>
154129

0 commit comments

Comments
 (0)