Skip to content

Commit

Permalink
Update jacoco
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed Jan 31, 2024
1 parent c3ef6f9 commit 32877ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 34 deletions.
1 change: 1 addition & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
branches: [ "main" ]
paths:
- 'src/**'
- 'pom.xml'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
paths:
- 'src/**'
- 'pom.xml'

pull_request:
types: [opened, synchronize, reopened]
jobs:
Expand Down
39 changes: 5 additions & 34 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,39 +49,6 @@
<sonar.organization>brenoepic</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<profiles>
<profile>
<id>coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<configuration>
<formats>
<format>XML</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
Expand Down Expand Up @@ -201,14 +168,18 @@
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenEnabled>true</tokenEnabled>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 32877ae

Please sign in to comment.