Skip to content

Commit 5ed9cab

Browse files
committed
added jacoco to projects with unit tests
1 parent 05fbe24 commit 5ed9cab

4 files changed

Lines changed: 19 additions & 3 deletions

File tree

.github/workflows/maven.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ on:
77

88
jobs:
99
build:
10-
1110
runs-on: ubuntu-latest
12-
1311
steps:
1412
- uses: actions/checkout@v2
1513
- name: Set up Java 11

crypto-tink/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,13 @@
4444
<scope>test</scope>
4545
</dependency>
4646
</dependencies>
47+
48+
<build>
49+
<plugins>
50+
<plugin>
51+
<groupId>org.jacoco</groupId>
52+
<artifactId>jacoco-maven-plugin</artifactId>
53+
</plugin>
54+
</plugins>
55+
</build>
4756
</project>

csrf-spring-security/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
<groupId>org.springframework.boot</groupId>
5959
<artifactId>spring-boot-maven-plugin</artifactId>
6060
</plugin>
61+
<plugin>
62+
<groupId>org.jacoco</groupId>
63+
<artifactId>jacoco-maven-plugin</artifactId>
64+
</plugin>
6165
</plugins>
6266
</build>
6367
</project>

intercept-me/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<packaging>jar</packaging>
1313
<name>Intercept Me</name>
1414

15-
<description>Intercept Me sample project. Start via the main method in the Application class. After launching, open the web application in your browser at http://localhost:8080.
15+
<description>Intercept Me sample project. Start via the main method in the Application class. After launching, open
16+
the web application in your browser at http://localhost:8080.
1617
</description>
1718

1819
<dependencies>
@@ -52,6 +53,10 @@
5253
<groupId>org.springframework.boot</groupId>
5354
<artifactId>spring-boot-maven-plugin</artifactId>
5455
</plugin>
56+
<plugin>
57+
<groupId>org.jacoco</groupId>
58+
<artifactId>jacoco-maven-plugin</artifactId>
59+
</plugin>
5560
</plugins>
5661
</build>
5762
</project>

0 commit comments

Comments
 (0)